Sunday, February 13, 2011

How do I specify a TCP transport is server mode (listening) or client mode in activemq?

The example given for a spring injected endpoint is as follows:

<endpoint id="hl7listener" uri="mina:tcp://localhost:8888?sync=true&amp;codec=hl7codec"/>

How do I setup a client mode endpoint such that is will connect to a specific port on another server?

How do I configure the endpoint to listen for inbound connections? (the example seems to be a listener as indicated by its descriptive id but why?)

Note: I am not actually using the HL7 protocol or codec. I will be developing my own for a proprietary protocol codec.

0 comments:

Post a Comment