2 Replies Latest reply on Jul 23, 2009 10:33 AM by ejb3workshop

    Defining a distributed / clustered queue

    ejb3workshop

      I have this issue with not being able to receive responses which I reported in this thread http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158725. In one of the responses the suggestion was made to define a distributed queue. I though this was done using the CLUSTERED=TRUE parameter in the jbm serivces XML file. Is there any additional configuration required ? The linked thread contains my example configuration.

      Thanks in advance
      Alex

        • 1. Re: Defining a distributed / clustered queue
          timfox

          As I mentioned in my previous reply you need to either a) use a clustered *temporary* queue b) use a response *topic*

          • 2. Re: Defining a distributed / clustered queue
            ejb3workshop

            Do you have an example of how one create a clustered temporary queue. Maybe an explanation of why a standard clustered queue does not work. Not being able to receive responses in a consistent way on our external client it a major problem for us. I have had a look the distributed queue example, however this does something quite different to what we do in our application.

            Do you mean we must create a clustered temporary queue from the session like this :

            session.createTemporaryQueue();


            This would break our entire design. Currently the client and the MDB are only coupled by the queue name which is pre-defined.

            Do you know if there is a bug / jira raised on this issue ? or do you have any further details on why this works the way it does. I am guessing this is affecting 4.3 EAP as well ?

            Grateful for any input on this.
            Regard
            Alex