activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marlon Santos (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-1057) consumer queue is empty when running requester
Date Fri, 17 Nov 2006 05:02:02 GMT
     [ https://issues.apache.org/activemq/browse/AMQ-1057?page=all ]

Marlon Santos updated AMQ-1057:
-------------------------------

    Attachment: RequesterTool.patch

patch for the requester tool.

Changes:

                        if (topic) {
				destination = session.createTopic(subject);
				if( replySubject==null )
					replyDest = session.createTemporaryTopic();
				else
					replyDest = session.createTopic(replySubject);
			} else {
				destination = session.createQueue(subject);
				if( replySubject==null)
					replyDest = session.createTemporaryQueue();
				else
					replyDest = session.createQueue(replySubject);
			}
             

                        changed to:

                        if (topic) {
				destination = session.createTopic(subject);
				if( replySubject==null || replySubject.equals("") )
					replyDest = session.createTemporaryTopic();
				else
					replyDest = session.createTopic(replySubject);
			} else {
				destination = session.createQueue(subject);
				if( replySubject==null || replySubject.equals("") )
					replyDest = session.createTemporaryQueue();
				else
					replyDest = session.createQueue(replySubject);
			}
                  


> consumer queue is empty when running requester
> ----------------------------------------------
>
>                 Key: AMQ-1057
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1057
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>            Reporter: Marlon Santos
>            Priority: Minor
>             Fix For: 4.2.0
>
>         Attachments: ConsumerTool.patch, RequesterTool.java, RequesterTool.patch
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
>     consumer queue is empty when running requester, producer and consumer. The reply
destination also results into an empty string.  

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

        

Mime
View raw message