[rabbitmq-discuss] dynamic binding

Gary Russell grussell at gopivotal.com
Mon Apr 28 17:09:26 BST 2014


Yes; just add a second binding with the new header value(s); no need to do
anything on the listener - it's all a function of the rabbitmq-server.


On Mon, Apr 28, 2014 at 11:01 AM, PATAR, SAGAR <sp345s at att.com> wrote:

>
>
> We are using header exchanges and are using spring-rabbit mq for
> configuration and binding listeners to listen to specific messages with
> specific message header values.
>
> Ex: message header "srcId" has values "1001,1002,1003,1004"
>
>
>
> At runtime if the same listener bean has to listen to messages with
> message header "srcId" having value "2001,2002,2003" ..
>
> Is there a way to add these bindings dynamically at runtime ..??
>
>
>
> Thanks
>
> Sagar
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140428/b1036f96/attachment.html>


More information about the rabbitmq-discuss mailing list