[jboss-svn-commits] JBL Code SVN: r16244 - labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/src/org/jboss/soa/esb/samples/quickstart/helloworlddbregistration.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Nov 1 00:09:53 EDT 2007


Author: tcunning
Date: 2007-11-01 00:09:53 -0400 (Thu, 01 Nov 2007)
New Revision: 16244

Modified:
   labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/src/org/jboss/soa/esb/samples/quickstart/helloworlddbregistration/MyJMSListenerAction.java
Log:
bug:JBESB-1291
Remove deprecated getBody().getByteArray() calls.


Modified: labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/src/org/jboss/soa/esb/samples/quickstart/helloworlddbregistration/MyJMSListenerAction.java
===================================================================
--- labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/src/org/jboss/soa/esb/samples/quickstart/helloworlddbregistration/MyJMSListenerAction.java	2007-11-01 04:05:06 UTC (rev 16243)
+++ labs/jbossesb/trunk/product/samples/quickstarts/helloworld_db_registration/src/org/jboss/soa/esb/samples/quickstart/helloworlddbregistration/MyJMSListenerAction.java	2007-11-01 04:09:53 UTC (rev 16244)
@@ -35,11 +35,11 @@
   public Message displayMessage(Message message) throws Exception{
 		
 		  System.out.println("&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");		  		  
-		  System.out.println("\nBody: " + new String(message.getBody().getByteArray()));
+		  System.out.println("\nBody: " + (String) message.getBody().get());
 		  System.out.println("\n&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&");
 		  return message; 
         		
 	}
     
 	
-}
\ No newline at end of file
+}




More information about the jboss-svn-commits mailing list