Hi Sorry I think I lost the picture. What is it excatly you want with camel-mina?
As I read it you are only connecting to a remote TCP server (not exposing TCP services yourself?) So what you need is to consume from the remote TCP server? Or am I wrong? And what do you mean with async bidirectional messages? /Claus On Tue, Nov 11, 2008 at 2:28 AM, Jeff V <[EMAIL PROTECTED]> wrote: > > The service I am connecting to is a TCP server mode socket that simultaneusly > supports two modes of communication: > > 1) Request / Response > AMQ: <Request><ParameterQuery param="temperature" /></Request> > DEV: <Response><QueryResult param="temperature" value="22.5"/></Response> > > AND > > 2) unsolicited events > DEV: <Event><ParameterAlarm param="temperature" value="30.1" desc="high > temperature"/></Event> > > In my slightly contrived example, AMQ is the ActiveMQ generating out bound > requests and DEV represents a device connected to the TCP port responding to > requests and also is generating event messages. > > I would like two way async communications such that my update messages can > flow into AMQ and be routed to topic subscribers, logs, persistent storage, > email etc.. > > I do not need the request response to a camel exchange, I will handle that > at a higher level. > > Can I do this with the camel-mina component? If so, how? > > If not, what would the best way to proceed be? > Perhaps, a bean that is subscribing to messages for outbound and a TCP > listener thread for inbound? > > Any help is much appreciated!! > -- > View this message in context: > http://www.nabble.com/Can-mina%3A%3Atcp-do-asyncronous-bidirectional-messages--tp20431804s22882p20431804.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- /Claus Ibsen Apache Camel Committer Blog: http://davsclaus.blogspot.com/
