Did you try wrapping the selector expression in escaped quotes?  (<from
uri="broker:topic:X?selector=\"foo='bar'\"">)  I've never used embedded
Camel routes, but that's how I'd expect it to work so give it a shot.
On May 26, 2015 3:17 PM, "davidthomas426" <davidthomas...@gmail.com> wrote:

> I'd like to do something like this with the broker camel component:
>
> <route>
>     <from uri="broker:topic:X?selector=foo='bar'">
>     <to uri="broker:queue:Y">
> </route>
>
> I'm getting org.apache.camel.ResolveEndpointFailedException about the
> "selector" parameter of the endpoint. How can I set up this route? Do I
> need
> to use MessageBrokerView, maybe? Or is the broker component not flexible
> enough for this?
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Broker-camel-component-message-selectors-tp4696923.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Reply via email to