| Summary: | QS helloworld_bridge references sending message to wrong queue | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 4 | Reporter: | Martin Vecera <mvecera> |
| Component: | JBossESB, Examples | Assignee: | nwallace <nwallace> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.3 CP01 | CC: | dlesage |
| Target Milestone: | --- | ||
| Target Release: | 4.3 CP04 ER1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-1260 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-03-23 14:26:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Link: Added: This issue depends JBESB-2498 Link: Added: This issue related JBQA-2218 Link: Removed: This issue depends JBESB-2498 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">
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");
build.xml updated. Committed revision 4653 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. Verified in 4.3.CP03 ER1. |
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.