| Summary: | notifications quickstart references a message property that is not set | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 4 | Reporter: | Len DiMaggio <ldimaggi> |
| Component: | Examples | Assignee: | trev <tkirby> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.2 GA | ||
| Target Milestone: | --- | ||
| Target Release: | 4.2 CP01 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-459 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
/opt/GA/soa-4.2.0.GA.zip
/opt/GA/standalone-soa-4.2.0.GA.zip
|
|
| Last Closed: | 2008-04-01 15:01:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 |
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