Hi

The JMS selector is only for the consumer, eg in the from.

Also mind that non durable topics will discard the message if there is
no active consumers listening on the topic.

If the topic is durable then the broker stores the message, so when
consumers later connect they can get those messages.

See
http://activemq.apache.org/how-do-durable-queues-and-topics-work.html

On Tue, Jul 29, 2014 at 11:52 AM, Frankiboy <mail.to.fra...@gmail.com> wrote:
>
> I got this route....
>
> from("file:c:/camel-input/?delete=true").to("activemq:topic:HUB_TOP01?selector=BD='YES'");
>
> When i put a file into the camel-input directory, the file is deleted, but
> nothing in the MQ.
>
> Should i use clientID or other options ?
>
>
> I have tryed this out:
>
> from("file:c:/camel-input/?delete=true").to("activemq:queue:BCA_TEST");
>
> without topic/selector, and it works fine...
>
> Frank
>
>
>
>
>
>
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Is-there-parameters-missing-when-using-topic-selector-tp5754574.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to