You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Marlon Santos (JIRA)" <ji...@apache.org> on 2006/11/17 02:57:02 UTC
[jira] Created: (AMQ-1057) consumer queue is empty when running
requester
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: RequesterTool.java
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
[jira] Updated: (AMQ-1057) consumer queue is empty when running
requester
Posted by "Ken Gallo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1057?page=all ]
Ken Gallo updated AMQ-1057:
---------------------------
Attachment: ConsumerTool.patch
changed
Session session = connection.createSession(transacted, ackMode);
to
session = connection.createSession(transacted, ackMode);
so requester-consumer example works.
> 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
>
> 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
[jira] Commented: (AMQ-1057) consumer queue is empty when running
requester
Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1057?page=comments#action_37480 ]
Hiram Chirino commented on AMQ-1057:
------------------------------------
Also applied to 4.1 branch revision: 476144
> 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
> Assigned To: Jonas Lim
> 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
[jira] Updated: (AMQ-1057) consumer queue is empty when running
requester
Posted by "Marlon Santos (JIRA)" <ji...@apache.org>.
[ 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
[jira] Assigned: (AMQ-1057) consumer queue is empty when running
requester
Posted by "Jonas Lim (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1057?page=all ]
Jonas Lim reassigned AMQ-1057:
------------------------------
Assignee: Jonas Lim
> 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
> Assigned To: Jonas Lim
> 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
[jira] Resolved: (AMQ-1057) consumer queue is empty when running
requester
Posted by "Jonas Lim (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/AMQ-1057?page=all ]
Jonas Lim resolved AMQ-1057.
----------------------------
Resolution: Fixed
applied in revision : 476058
thanks Ken and marlon!
> 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
> Assigned To: Jonas Lim
> 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