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.

Reply via email to