Bug 777502 (SOA-11)

Summary: Modify /rosetta/src/org/jboss/soa/esb/actions/SystemPrintln.java to handle situations where message data is in property, not message body
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Len DiMaggio <ldimaggi>
Component: JBossESBAssignee: Len DiMaggio <ldimaggi>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2 IR1CC: ldimaggi
Target Milestone: ---   
Target Release: 4.2 IR4   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-11
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-31 21:56:42 UTC Type: Task
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Len DiMaggio 2007-08-26 01:16:28 UTC
Date of First Response: 2007-08-28 15:49:20
project_key: SOA

Modify /rosetta/src/org/jboss/soa/esb/actions/SystemPrintln.java to handle situations where message data is in property, not message body - for examaple, trunk/product/samples/quickstarts/tests/src/org/jboss/soa/esb/quickstart/test/HelloWorldSQLActionTest.java

Here's a dump of the message being processed by the quickstart:

20:11:42,499 INFO  [STDOUT] ** 'message' attribute not set **: message: [ JBOSS_XML ]
[ header: [ To: EPR: PortReference < <wsa:Address jms://localhost/queue/A/>, <wsa:ReferenceProperties jbossesb:java.naming.factory.initial : org.jnp.interfaces.NamingContextFactory/>, <wsa:ReferenceProperties jbossesb:java.naming.provider.url : localhost/>, <wsa:ReferenceProperties jbossesb:specification-version : 1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:message-selector : source='fromHelloworldSQLAction'/> >, From: null, ReplyTo: null, FaultTo: null, Action: null, MessageID: 48dce800-b659-43ba-96c4-ae8c65c74d2a, RelatesTo: null ]
context: [ null ]
body: [ objects: {} ]
fault: [ null, null, null ]
attachments: [ Named:{}, Unnamed:[] ]
properties: [ {org.jboss.soa.esb.message.time.dod=Sat Aug 25 20:11:42 EDT 2007, org.jboss.soa.esb.gateway.original.url=jdbc:mysql://localhost:3306/test_sql_gateway, org.jboss.soa.esb.message.time.dob=Sat Aug 25 20:11:41 EDT 2007, sqlRowData={unique_id=1, data_column=data 111111 [jbesb-filename]/tmp/HelloWorldSQLActionTest.log[/jbesb-filename]
 }, org.jboss.soa.esb.message.source=PortReference < jms://localhost/queue/A >, org.jboss.soa.esb.message.transport.type=JMS} ] ]

Comment 1 Len DiMaggio 2007-08-26 01:17:00 UTC
Need to make sure that any changes do not affect the GA code freeze!


Comment 2 Mark Little 2007-08-28 19:49:20 UTC
Len, can you email me about this?

Comment 3 Len DiMaggio 2007-09-02 02:03:07 UTC
Link: Added: This issue is a dependency of JBESB-928


Comment 4 tcunning 2007-09-08 21:25:35 UTC
Len, I've modified SystemPrintln to achieve this.       The transform_* quickstarts should demonstrate how to use this.