Hi Developers,

Could you please let me know if it is possible to pass a variable into a 
rabbitmq endpoint?

I would like to set the routing key dynamically. So I was trying to use a 
property from the context and define the routing key based on that property. 
But I could not make it work. 

I tried : 

<address 
uri="rabbitmq://.......&amp;rabbitmq.queue.routing.key={key}&amp;rabbitmq...”/>
<address 
uri="rabbitmq://.......&amp;rabbitmq.queue.routing.key={ctx:key}&amp;rabbitmq...”/>

Where key is the context property where I have the desired value of the routing 
key. 

Thanks in advance. 

Regards,
Norberto
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to