Hide Forgot
project_key: SOA notifications quickstart references a message property that is not set The quickstart references the jbossesb.message.id property: <!-- send notification to FTP server by way of file transfer --> <!-- this requires an active ftp server with appropriate user account --> <target class="NotifyFTP"> <ftp URL="ftp://jboss:jboss@localhost/remote/dir" filename="{jbossesb.message.id}.txt"/> </target> And the same property is refernenced in the javadocs for: /product/rosetta/src/org/jboss/soa/esb/notification/NotifyFTP.java
The javadoc is: * Sends a message to an outgoing FTP server. The outgoing filename can have * values of message properties injected into it to make it unique. The * notification-details property looks something like: * * <code> * <NotificationList type="OK" xmlns="http://anonsvn.labs.jboss.com/labs/jbossesb/trunk/product/etc/schemas/xml/jbossesb-1.0.1.xsd"> * <target class="NotifyFTP"> * <ftp URL="ftp://username:pwd@server.com/remote/dir" filename="{jbossesb.message.id}.txt"/> * </target> * </NotificationList> * </code> * * @author <a href="rex.sheridan">Rex Sheridan</a> */ public class NotifyFTP extends NotificationTarget {
SOA-459 Committing fix for: http://jira.jboss.com/jira/browse/SOA-459 To branch: https://svn.labs.jboss.com/labs/jbossesb/workspace/platform/JBESB_4_2_1_SOA_4_2/ Corrected reference to jbossesb.message.id property (was incorrectly listed as jboss.message.id) - added action handler to set the jbossesb.message.id property [ldimaggi@ldimaggi notifications]$ svn commit Sending notifications/jboss-esb.xml Adding notifications/src/org/jboss/soa/esb/samples/quickstart/notifications/MyAction.java Transmitting file data .. Committed revision 18763.
Verified fixed in CP01 There is one other problem - will log a separate JIRA - there's an extra "<" in jboss-esb.xml <!-- send notification to FTP server by way of file transfer --> <!-- this requires an active ftp server with appropriate user account <target class="NotifyFTP"> < <ftp URL="ftp://username:pwd@server.com/remote/dir" filename="{jbossesb.message.id}.txt"/> </target> -->
Link: Added: This issue related JBESB-3153