activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Casey <jamesc....@gmail.com>
Subject Re: "Working with Destinations with Stomp" <-- clarification please
Date Fri, 27 Aug 2010 18:12:31 GMT
Hi James.

with Foo.Bar.Baz, you can use wildcard subscriptions such as Foo.Bar.*.

with Foo/Bar/Baz, this is seen as a single hierarchical element, so no
wildcards would work.

cheers,

James.
--

On 27 August 2010 18:22, James Green <james.mk.green@gmail.com> wrote:
> Hi,
>
> I'm working with a stomp client and up till now I've assumed that the
> following it's what's needed for a nicely structured hierarchy:
>
> /queue/Foo.Bar.Baz
>
> However, an accidental post to /queue/Foo/Bar/Baz shows up in the web
> interface verbatim.
>
> Is the separator arbitrary then? Is dot just an enterprise convention?
>
> In the documentation it clearly states both ways:
>
> "So FOO.BAR is the normal syntax of a MOM queue - the Stomp equivalent
> would be /queue/FOO.BAR" then:
>
> "If in Stomp world you use /queue/foo/bar then in a JMS world the
> queue would be called foo/bar not /foo/bar."
>
> Which should it be then? dot or slash? I'm somewhat confused and I
> don't even know if I need to be!
>
> James
>

Mime
View raw message