[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-956) Implement clustered temporary queues

Yong Zhang (JIRA) jira-events at lists.jboss.org
Mon May 19 00:50:23 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBMESSAGING-956?page=comments#action_12413152 ] 
            
Yong Zhang commented on JBMESSAGING-956:
----------------------------------------

Hi Tim,

I assume temporary queue is working for clustered queue.

We are trying to implement request/response queues.
1. One clustered request queue.
2. One temporary response queue.

Currently we have:
1. jboss-4.2.2.GA / jboss-messaging-1.4.0.SP3 / jboss-remoting-2.2.2.SP4 
2. PostOffice is clustered.

On the requester:
1. The sender creates a temporary queue: 
     tmpQueue = session.createTemporaryQueue();
2. The sender creates receiver on this temporary queue: session.createReceiver(tmpQueue );
3. The sender sends messages by setting replyto in the message.
4. The sender periodicly retrieve the message using: msg = receiver.receiveNoWait()

On the handler:
1. Receive the message.
2. Get the queue from the message: (Queue)msg.getJMSReplyTo()
3. Send the reply back to queue.

The issue is, at step 4 above, the msg that the requester got is always null. But I did not see any exceptions in the log.

Do you have any ideas? Thanks.



> Implement clustered temporary queues
> ------------------------------------
>
>                 Key: JBMESSAGING-956
>                 URL: http://jira.jboss.com/jira/browse/JBMESSAGING-956
>             Project: JBoss Messaging
>          Issue Type: Task
>            Reporter: Tim Fox
>         Assigned To: Tim Fox
>             Fix For: 1.3.0.GA
>
>
> Temporary queues are currently not clustered, therefore the request-response pattern using a temporary reply to queue does not work when running clustered and the response can be sent via a different node to that which originally sent the request.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list