Yes - the Camel route would be static, but you could use the recipient list EIP 
to dynamically determine where the messages are sent.
http://camel.apache.org/recipient-list.html 
<http://camel.apache.org/recipient-list.html>

> On Mar 17, 2016, at 5:15 PM, Adel Boutros <sta191...@gmail.com> wrote:
> 
> Hello Quinn,
> 
> Camel route is still a static way of doing it as I have to write it in Xml
> file. It doesn't suite my test case which requires "dynamic" route creation
> while the broker is running. Do you confirm this? Unless I have missed
> something.
> 
> Just to compare with Artemis, for example, via Jolokia, you can create a
> "Divert" which redirects messages from Topic to Queue via a REST call to
> the running broker. The same applies to Qpid Java broker.
> 
> Regards,
> Adel Boutros
> Murex SAS
> www.murex.com
> 
> On Thu, Mar 17, 2016 at 1:33 AM, Quinn Stevenson <
> qu...@pronoia-solutions.com> wrote:
> 
>> You may be able to accomplish what you’re after using a Camel route
>> embedded in the ActiveMQ broker.
>> http://activemq.apache.org/broker-camel-component.html <
>> http://activemq.apache.org/broker-camel-component.html>
>>> On Mar 16, 2016, at 4:06 PM, Adel Boutros <sta191...@gmail.com> wrote:
>>> 
>>> Hello Christopher,
>>> 
>>> In the way we will be using the broker, we would provide an API for
>> clients
>>> to create these "redirections" between queues and topics on the fly. So
>>> this feature would be really useful as I know no other way of linking a
>>> queue to a topic.
>>> 
>>> Regards,
>>> Adel Boutros
>>> Murex SAS
>>> www.murex.com
>>> 
>>> On Wed, Mar 16, 2016 at 7:51 PM, Christopher Shannon <
>>> christopher.l.shan...@gmail.com> wrote:
>>> 
>>>> Currently this doesn't exist because Virtual destinations can only be
>> set
>>>> on start up or modified by a runtime plugin. (either the xml runtime
>> plugin
>>>> or the new java based one added in 5.13.0)
>>>> 
>>>> There would need to be a new feature implemented to enable modification
>>>> through JMX.
>>>> 
>>>> On Wed, Mar 16, 2016 at 1:45 PM, Adel Boutros <sta191...@gmail.com>
>> wrote:
>>>> 
>>>>> Hello,
>>>>> 
>>>>> I was wondering if there is a way to configure a Virtual Destination
>>>>> programmatically using the Jolokia REST Api?
>>>>> 
>>>>> I explored the JMX module using JConsole but found no possible
>> solution.
>>>>> 
>>>>> I am following the example here:
>>>>> http://activemq.apache.org/virtual-destinations.html
>>>>> 
>>>>> Regards,
>>>>> 
>>>>> Adel Boutros
>>>>> Murex SAS
>>>>> www.murex.com
>>>>> 
>>>> 
>> 
>> 

Reply via email to