3 Replies Latest reply on Sep 16, 2003 6:17 PM by Adrian Brock

    Topic Hierarchy

    David Hosier Novice

      Greetings,

      For some reason, I thought it was possible to create Topic hierarchies like topic/foo, topic/foo/bar, topic/foo/baz, etc. The point being to have a client listening on topic/foo so that he could hear all messages going to both topic/foo/bar and topic/foo/baz. However, I seem to have trouble configuring my destinations to do this, which leads me to two possible conclusions: 1) This isn't possible and I was misinformed, or 2) I am doing it wrong.

      I referenced this thread for help:
      http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t= first simply tried doing this:


      and then:


      to get a subtopic of system under netexpert, but I got:
      [ServiceController] Problem starting service jboss.mq.destination:service=Topic,name=netexpert/system java.lang.ClassCastException....and the same for netexpert/gateway.

      So, in the above metioned thread, Adrian mentions to use the element instead. Therefore I tried doing this:


      <depends optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager
      topic/netexpert/system


      but I got the same exact Exception.

      So, is there a correct way to do this? Or am I out of luck?

      Thanks for the consideration.

      -David