static_router QS deprecated getByteArray()
------------------------------------------
Key: JBESB-1256
URL:
http://jira.jboss.com/jira/browse/JBESB-1256
Project: JBoss ESB
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Examples
Affects Versions: 4.2.1 IR2
Reporter: Burr Sutter
Assigned To: Mark Little
Fix For: 4.2.1 triage
[javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\static_router
\src\org\jboss\soa\esb\samples\quickstart\staticrouter\SimpleFileAction.java:36:
warning: [deprecation] getByteArray() in org.jboss.soa.esb.message.Body has bee
n deprecated
[javac] String sMsg = new String(message.getBody().getByteArray(
));
[javac] ^
[javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\static_router
\src\org\jboss\soa\esb\samples\quickstart\staticrouter\SimpleFileAction.java:38:
warning: [deprecation] setByteArray(byte[]) in org.jboss.soa.esb.message.Body h
as been deprecated
[javac] message.getBody().setByteArray(sMsg.getBytes());
[javac] ^
[javac] 38 warnings
--
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