Hide Forgot
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} ] ]
Need to make sure that any changes do not affect the GA code freeze!
Len, can you email me about this?
Link: Added: This issue is a dependency of JBESB-928
Len, I've modified SystemPrintln to achieve this. The transform_* quickstarts should demonstrate how to use this.