You can activate several endpoints for one component, so in your case,
you should activate two endpoints
and check when receiving a MessageExchange, which endpoint was the
intended receiver.
Cheers,
Guillaume Nodet
Anshuman Das wrote:
Hi
I am a newbie to ServiceMix.
I would like to know whether it is possible to have more than one input
enpoints for a component.
Actually I want to listen to two Queues. One adds some info into the
components memory and the other receives requests that uses that stored info
for processing.
The precise requirement is with a modified version of the Drools component,
in which one input listener is used to add new rules into the working
memory, while the other receives messages and applies all available rules on
this message.
Thanks in advance.
Anshuman Das