[
http://jira.jboss.com/jira/browse/JBESB-1157?page=all ]
Kevin Conner updated JBESB-1157:
--------------------------------
Fix Version/s: 4.2.1 IR2
(was: 4.2.1)
Assignee: Tom Fennelly (was: Mark Little)
Tom, can you check this our while looking at JBESB-1162?
Notifier ignores default location
---------------------------------
Key: JBESB-1157
URL:
http://jira.jboss.com/jira/browse/JBESB-1157
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Rosetta
Affects Versions: 4.2.1 IR1
Reporter: Burr Sutter
Assigned To: Tom Fennelly
Fix For: 4.2.1 IR2
org.jboss.soa.esb.actions.Notifier.java
pulls the message content using this technique:
message.getBody().get(BytesBody.BYTES_LOCATION)
I believe it should be
message.getBody().get()
Use Case:
A message containing "STUFF" flows through the JMS Gateway, through the native
listener, into the action chain.
MyAction.java - modifies the appends " HAPPENS" to the message data using this
technique:
String origData = (String) message.getBody().get();
message.getBody().add(origData + " HAPPENS");
the next action in the chain is the Notifier:
<action name="notificationAction"
class="org.jboss.soa.esb.actions.Notifier">
<property name="okMethod" value="notifyOK"
/>
<property name="notification-details">
<NotificationList type="OK">
<target class="NotifyConsole" />
</NotificationList>
</property>
</action>
which displays "STUFF", just the original inbound data, not that message that
was modified by the actions above it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira