Josn, If you're new to ServiceMix, writing you own binding component is probably not a good way to start learning about this. We usually don't recommend new users to take the JBI path any more either, but rather to go for a solution with Camel/ActiveMQ/CXF. In your case, Camel already has a camel-mina component that you can use for TCP/IP connectivity. For the communication between smx1 and smx2, you could configure the embedded ActiveMQ instances (configurable in etc/activemq-broker.xml) to act as a network of brokers, i.e. to let smx1 store and forward to smx2 and then you can just handle the JMS messages on smx2.
Regards, Gert Vanthienen ------------------------ FuseSource Web: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ On Wed, Jun 15, 2011 at 8:47 AM, josn <[email protected]> wrote: > Thanks JB. > > I have read that solution. > > I'd like to study about writting binding component. is it practicable to > write a binding component with TCP/IP to route message from smx1 to smx2? > > Regards > > - > josn >
