Hi everybody;

I'd like to combine MINA with activemq, I am wondering if that's possible.

In my application I need to send a lower priority message to an activemq
based async consumer(Another Gateway). But it appears that communication
fails sometimes, since I am  sending messages asynchronously, I don't even
realize if they go through and if there's an error in transmission , I never
send again. If the communication fails I end up not processing the message.
As a solution, I can try wait and retry approach, but I don't want to send
this message as a synchronous message and block the whole process.

Instead I'd like to use power of activemq, I am thinking about dropping the
message to internal queue in my application and spawn another thread which
will be continuously checking the queue and will try to send messages
whenever they are available. Do you think that this is doable? Has anybody
extended MINA to perform tasks like these?

Thanks in advance

Erinc

Reply via email to