Bug 778810 (SOA-1260) - QS helloworld_bridge references sending message to wrong queue
Summary: QS helloworld_bridge references sending message to wrong queue
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-1260
Product: JBoss Enterprise SOA Platform 4
Classification: JBoss
Component: JBossESB, Examples
Version: 4.3 CP01
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.3 CP04 ER1
Assignee: nwallace
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-30 11:51 UTC by Martin Vecera
Modified: 2010-03-23 14:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-23 14:26:54 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBQA-2218 0 None None None Never
Red Hat Issue Tracker SOA-1260 0 None None None Never

Description Martin Vecera 2009-03-30 11:51:04 UTC
Affects: Interactive Demo/Tutorial
Date of First Response: 2009-11-27 20:20:28
Workaround Description: build.xml
24c24
< description="sends a JMS message to queue/quickstart_helloworld_Request_gw">
---
> description="sends a JMS message to queue/quickstart_helloworld_Request_bridge"> 
project_key: SOA

In helloworld_bridge there is a bridge queue which bridges messages to GW queue for a helloworld service. In build.xml there is a message send directly to GW queue, hence it is not using the bridged one. I think that the original message should be sent to the bridge.

Comment 1 Martin Vecera 2009-03-30 11:52:04 UTC
Link: Added: This issue depends JBESB-2498


Comment 2 Martin Vecera 2009-03-30 11:55:09 UTC
Link: Added: This issue related JBQA-2218


Comment 3 Kevin Conner 2009-03-30 12:00:44 UTC
Link: Removed: This issue depends JBESB-2498 


Comment 4 Kevin Conner 2009-03-30 12:02:00 UTC
Workaround Description: Added: build.xml
24c24
< description="sends a JMS message to queue/quickstart_helloworld_Request_gw">
---
> description="sends a JMS message to queue/quickstart_helloworld_Request_bridge"> 


Comment 5 Len DiMaggio 2009-11-28 01:20:28 UTC
I think that SOA-1260 is minor - the reference to the wrong queue is only in the wrong queue is only in the description field in the build.xml file - the SendJMSMessage program does send a message to the correct queue.

It's worth fixing - as it may confuse users - but it's a minor bug.

Here's the code from src/org/jboss/soa/esb/samples/quickstart/helloworld/test/SendJMSMessage.java

        Object tmp = iniCtx.lookup("ConnectionFactory");
        QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
        conn = qcf.createQueueConnection();
        que = (Queue) iniCtx.lookup("queue/quickstart_helloworld_Request_bridge");
        session = conn.createQueueSession(false, QueueSession.AUTO_ACKNOWLEDGE);
        conn.start();
        System.out.println("Connection Started");


Comment 6 nwallace 2010-01-06 13:37:10 UTC
build.xml updated.
Committed revision 4653

Comment 7 David Le Sage 2010-02-25 04:06:05 UTC
Please review following draft text for Resolved Issues section of the Release Notes:


https://jira.jboss.org/jira/browse/SOA-1260

    The helloworld_bridge quick start's build.xml file contained a minor error: the description
    field referred to the wrong queue (GW queue instead of Bridge queue.) This has no functional
                                                                                                 7
    impact as the messages were, in fact, being sent to the right queue but the erroneous description
    was potentially confusing and so has now been corrected.


Comment 8 Martin Vecera 2010-03-23 14:26:54 UTC
Verified in 4.3.CP03 ER1.


Note You need to log in before you can comment on or make changes to this bug.