Hello,

I have the following need :

+ I receive message in the queue IN
+ I want to route the same message to the endpoints defined in the header
property "Partner" = (A, B, C)
+ Each message routed by the recipient list should have a specific header
property, for example for the endpoint A, we should have Partner = A, and
the same for endpoint B & C.

How we can acheive this ?
Tried route :

<route>
  <from uri="activemq:queue:IN" />
  <setHeader headerName="Partner">
        <simple>A, B, C</simple>
   </setHeader>
  <recipientList delimiter=",">
    <simple>activemq:queue:{Endpoint}?preserveMessageQos=true</simple>
  </recipientList>
</route>

Thanks



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-specific-recipient-list-tp5734048.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to