[esb-issues] [JBoss JIRA] Closed: (JBESB-1157) Notifier ignores default location
Tom Fennelly (JIRA)
jira-events at lists.jboss.org
Wed Oct 17 11:26:03 EDT 2007
[ http://jira.jboss.com/jira/browse/JBESB-1157?page=all ]
Tom Fennelly closed JBESB-1157.
-------------------------------
Resolution: Done
Should be OK now. Uses the default location by default now.
> 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
More information about the esb-issues
mailing list