[
http://jira.jboss.com/jira/browse/JBESB-1225?page=all ]
Kevin Conner updated JBESB-1225:
--------------------------------
Fix Version/s: 4.2.1 triage
(was: 4.2.1)
simple_cbr QS uses deprecated getByteArray()
--------------------------------------------
Key: JBESB-1225
URL:
http://jira.jboss.com/jira/browse/JBESB-1225
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Examples
Affects Versions: 4.2.1 IR2
Reporter: Tom Cunningham
Assigned To: Mark Little
Fix For: 4.2.1 triage
simple_cbr uses deprecated getByteArray() :
compile:
[mkdir] Created dir:
/Users/tcunning/src/esb/trunk/product/samples/quickstarts/simple_cbr/build/classes
[javac] Compiling 6 source files to
/Users/tcunning/src/esb/trunk/product/samples/quickstarts/simple_cbr/build/classes
[javac]
/Users/tcunning/src/esb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/MyJMSListenerAction.java:38:
warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body has been
deprecated
[javac] System.out.println("Body: " + new
String(message.getBody().getByteArray()));
[javac] ^
[javac]
/Users/tcunning/src/esb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/MyJMSListenerAction.java:48:
warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body has been
deprecated
[javac] System.out.println(message.getBody().getByteArray());
[javac] ^
[javac]
/Users/tcunning/src/esb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/ReturnJMSMessage.java:58:
warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body has been
deprecated
[javac] String newMsg = new String(esbMessage.getBody().getByteArray());
[javac] ^
[javac]
/Users/tcunning/src/esb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/RouteExpressShipping.java:39:
warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body has been
deprecated
[javac] System.out.println(new
String(message.getBody().getByteArray()));
[javac] ^
[javac]
/Users/tcunning/src/esb/trunk/product/samples/quickstarts/simple_cbr/src/org/jboss/soa/esb/samples/quickstart/simplecbr/RouteNormalShipping.java:39:
warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body has been
deprecated
[javac] System.out.println(new
String(message.getBody().getByteArray()));
[javac] ^
[javac] 5 warnings
config:
--
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