Hi,
I have a question regarding camel mina concerning sending different messages
in one session.
I would like to send out different messages, afaik you can configure camel
to saend a message via
from("messagesource").to("tcp://localhost:port?options");
What if i want to send three different messages and not only one?
For example i would need to send the following messages in one session
/******* Message 1 *******************/
// ESTABLISH SESSION
ESTABLISHSSESSIONMESSAGES
//GET RESPONSE
GETRESPONSE
/******* Message 2 *******************/
//SENDAUTHENTICATION
SENDAUTHENTICATIONMESSAGE
//GETRESPONSE
GETAUTHENTICATION RESPONSE
/******* Message 3 *******************/
//SENDACTUAL MESSAGE
ACTUALMESSAGE
//RECEIVE RESPONSE
RECEIVE ACTUAL RESPONSDE
I can send these as three separate message using a camel producer
.requestbody
However the three messages need to be authenticated in order for it to be
used.
Is there anyway that i can do this through camel?
Does camel mina pool connections or does it connect-disconnect?
thanks
carlo