[
http://jira.jboss.com/jira/browse/JBESB-1302?page=all ]
Mark Little updated JBESB-1302:
-------------------------------
Fix Version/s: 4.2.1 CP1
QS helloworld_file_notifier issues
----------------------------------
Key: JBESB-1302
URL:
http://jira.jboss.com/jira/browse/JBESB-1302
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Examples
Affects Versions: 4.2.1
Reporter: Jaroslaw Kijanowski
Fix For: 4.2.1 CP1
1. missing "mep" attributes in jbos-esb-unfiltered.xml causes WARN messages
2. sendesb target in build.xml should run
org.jboss.soa.esb.samples.quickstart.helloworldfilenotifier.test.SendEsbMessage but runs
org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage
3. org.jboss.soa.esb.samples.quickstart.helloworldfilenotifier.MyJMSListenerAction should
be aware that it can get two types of message, a String and a byte array:
public Message displayMessage(Message message) throws Exception{
String content = null;
if (message.getBody().get() instanceof String) {
content = (String)message.getBody().get();
} else if (message.getBody().get() instanceof byte[]) {
content = new String((byte[])message.getBody().get());
}
System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
System.out.println("Body: " + content);
System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
return message;
}
--
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