Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0_b89_RC5
    • Fix Version/s: None
    • Component/s: jms
    • Labels:
      None
    • Environment:

      MacOS

      Description

      I the following example I using 2 JMS queues in Glassfish 4.0. The first class sends a message to queue 1, this is picked up by a second bean which forwards the message to a next queue. From there it is picked up to the last bean. Schematically:

      Creator -> jms/q1 -> QueueBean1 -> jms/q2 -> QueueBean2.

      Problem is that QueueBean1 and QueueBean2 are receiving messages randomly from q1 and q2. It seems to me that q1 and q2 are just one queue and the MessageBeans a looking to that queue.

        Activity

        Hide
        David Zhao added a comment - - edited

        How did you create jms/q1 and jms/q2? Please check if they are pointing to the same physical destination in MQ. If true, then the 2 MDBs are listening to the same Queue actually.

        Show
        David Zhao added a comment - - edited How did you create jms/q1 and jms/q2? Please check if they are pointing to the same physical destination in MQ. If true, then the 2 MDBs are listening to the same Queue actually.

          People

          • Assignee:
            David Zhao
            Reporter:
            enschedem
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: