Realize synchronous communication via two JMS queues?

97 Views Asked by At

There are two different JMS (HornetQ) queues, one for outgoing requests to a service and another one for incoming answers.

I want to use a single class to have simultaneous read/write access to those queues to be able to make synchronous calls to that bean.

Architecture would be: JavaEE business application -> JavaEE "service management" facade -> JMS queues -> outside service

What would the implementation of the service management facade have to look like? I assume a combination between message driven beans and a stateful bean?

0

There are 0 best solutions below