The FIX component supports the FIX protocol by using the QuickFix/J library.
fix://configurationResource
Where configurationResource points to the QuickFix/J
configuration file to define how to connect to FIX. This could be a resource on the classpath
or a reference to a full URL using the http:
or file:
schemes.
By default this component will attempt to use the Type Converter to turn the inbound message body into a QuickFix Message class and all outputs from FIX will be in the same format.
If you are using the Artix Data Services support, then any payload such as files or streams or byte arrays can be converted nicely into FIX messages. REVISIT - WARNING: Commented out this paragraph.
REVISIT - WARNING: Commenting out this block, because the content is out of date. Need to find out how FIX component is shipping.
To use this module you need to use the FUSE Mediation Router distribution. Or you could
just add the following to your pom.xml
, substituting the version number for
the latest and greatest release:
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-parent</artifactId> <version>1.5.3.0-fuse</version> </dependency>
And ensure you are pointing at the maven repo:
<repository> <id>open.iona.m2</id> <name>FUSESource Open Source Community Release Repository</name> <url>http://repo.fusesource.com/maven2/</url> <snapshots> <enabled>false</enabled> </snapshots> <releases> <enabled>true</enabled> </releases> </repository>