>Do I also need to change the Camel side to publish to a queue instead of a
topic?

No you do not.

Seems perhaps that you're confused. The fact that you're using a virtual
topic, rather than a durable topic subscription, doesn't change the fact
that messages should still be published to a topic. After all, it's still
pub-sub semantics that you're looking for, albeit achieved using virtual
topics. If pub-sub semantics are not what you want then don't bother with
either virtual topics or durable topic subscriptions and just use queues.

Thanks,
Paul

On Tue, Apr 14, 2015 at 9:37 PM, hayden74 <[email protected]> wrote:

> Thanks Paul, I will give it another go when I get home.
> Do I also need to change the Camel side to publish to a queue instead of a
> topic?
>
> eg:change Camel side from
> from("jms:queue:foo").to("activemq:topic:VirtualTopic.bar");
>
> to
> from("jms:queue:foo").to("activemq:queue:VirtualTopic.bar");
>
> Thanks again for your help
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Virtual-Topic-isn-t-working-tp5765762p5765795.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to