camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Camel > FIX
Date Thu, 01 Oct 2009 13:24:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=CAMEL&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><s>FIX</s></h2>
     <h4>Page <b>removed</b> by             <a href="http://cwiki.apache.org/confluence/display/~davsclaus">Claus
Ibsen</a>
    </h4>
     <br/>
     <div class="notificationGreySide">
         <h2><a name="FIX-FIX"></a>FIX</h2>

<p>The FIX component supports the <a href="http://en.wikipedia.org/wiki/FIX_protocol"
rel="nofollow">FIX protocol</a> by using the <a href="http://www.quickfixj.org/"
rel="nofollow">QuickFix/J library</a>.</p>

<h3><a name="FIX-URIformat"></a>URI format</h3>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
fix:<span class="code-comment">//configurationResource</span>
</pre>
</div></div>

<p>Where <b>configurationResource</b> points to the QuickFix/J configuration
file to define how to connect to FIX. This could be a resource on the classpath or refer to
a full URL using http: or file: schemes.</p>

<h3><a name="FIX-MessageFormats"></a>Message Formats</h3>

<p>By default this component will attempt to use the <a href="/confluence/display/CAMEL/Type+Converter"
title="Type Converter">Type Converter</a> to turn the inbound message body into a
<a href="http://www.quickfixj.org/quickfixj/javadoc/quickfix/Message.html" rel="nofollow">QuickFix
Message class</a> and all outputs from FIX will be in the same format.</p>

<p>If you are using the <a href="/confluence/display/CAMEL/Artix+Data+Services" title="Artix
Data Services">Artix Data Services</a> support, then any payload such as files or
streams or byte arrays can be converted nicely into FIX messages.</p>

<h3><a name="FIX-Usingcamelfix"></a>Using camel-fix</h3>

<p>To use this module you need to use the <a href="http://fusesource.com/products/enterprise-camel"
rel="nofollow">FUSE Mediation Router</a> distribution. Or you could just add the
following to your <tt>pom.xml</tt>, substituting the version number for the latest
and greatest release:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
&lt;dependency&gt;
  &lt;groupId&gt;org.apache.camel&lt;/groupId&gt;
  &lt;artifactId&gt;camel-parent&lt;/artifactId&gt;
  &lt;version&gt;1.5.3.0-fuse&lt;/version&gt;
&lt;/dependency&gt;
</pre>
</div></div>

<p>And ensure you are pointing at the maven repo:</p>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<pre class="code-java">
   &lt;repository&gt;
     &lt;id&gt;open.iona.m2&lt;/id&gt;
     &lt;name&gt;FUSESource Open Source Community Release Repository&lt;/name&gt;
     &lt;url&gt;http:<span class="code-comment">//repo.fusesource.com/maven2/&lt;/url&gt;
</span>     &lt;snapshots&gt;
       &lt;enabled&gt;<span class="code-keyword">false</span>&lt;/enabled&gt;
     &lt;/snapshots&gt;
     &lt;releases&gt;
       &lt;enabled&gt;<span class="code-keyword">true</span>&lt;/enabled&gt;
     &lt;/releases&gt;
   &lt;/repository&gt;
</pre>
</div></div>

<h3><a name="FIX-SeeAlso"></a>See Also</h3>
<ul>
	<li><a href="/confluence/display/CAMEL/Configuring+Camel" title="Configuring Camel">Configuring
Camel</a></li>
	<li><a href="/confluence/display/CAMEL/Component" title="Component">Component</a></li>
	<li><a href="/confluence/display/CAMEL/Endpoint" title="Endpoint">Endpoint</a></li>
	<li><a href="/confluence/display/CAMEL/Getting+Started" title="Getting Started">Getting
Started</a></li>
</ul>

     </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message