271.16. サンプル
方向:FIX ゲートウェイへ
<route>
<from uri="activemq:queue:fix"/>
<bean ref="fixService" method="createFixMessage"/> // bean method in charge to transform message into a QuickFix.Message
<to uri="quickfix-client:META-INF/quickfix/client.cfg"/> // Quickfix engine who will send the FIX messages to the gateway
</route>
行き方:FIX ゲートウェイから
<route>
<from uri="quickfix-server:META-INF/quickfix/server.cfg"/> // QuickFix engine who will receive the message from FIX gateway
<bean ref="fixService" method="parseFixMessage"/> // bean method parsing the QuickFix.Message
<to uri="uri="activemq:queue:fix"/>"
</route>