Hi All,
I am new in the Camel town.
In my web application, an administrator can add/delete User (i.e.queue) at
runtime.
My objective is : An end-user of application can send message by selecting
any user from Users list ( i.e. drop-down).
Till now, i can send message from Controller to a queue like:
sendMessage("activemq:queue:vikas", message)
and can route it to consume the same as well like:
from("activemq:queue:vikas").to("stream:out")
Here, i have to hardcode the queue name i.e. "vikas".
But, i need to make the queue name dynamic while consuming like:
from("activemq:queue:${queueName}").to("stream:out")
Please guide me.
Thanks alot in advance.
--
View this message in context:
http://old.nabble.com/Adding-Deleting-queues-at-runtime-tp28544404p28544404.html
Sent from the Camel - Users mailing list archive at Nabble.com.