Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-1255

fun_cbr QS has deprecated methods

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.2
    • Fix Version/s: 4.2.1 CP1
    • Component/s: Examples
    • Labels:
      None

      Description

      [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\fun_cbr\src\o
      rg\jboss\soa\esb\dvdstore\DVDStoreAction.java:68: warning: [deprecation] setByte
      Array(byte[]) in org.jboss.soa.esb.message.Body has been deprecated
      [javac] message.getBody().setByteArray(results.toString().getByt
      es());
      [javac] ^
      [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\fun_cbr\src\o
      rg\jboss\soa\esb\samples\quickstart\funcbr\MyJMSListenerAction.java:38: warning:
      [deprecation] getByteArray() in org.jboss.soa.esb.message.Body has been depreca
      ted
      [javac] System.out.println("Body: " + new String(message.getBo
      dy().getByteArray()));
      [javac]
      ^
      [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\fun_cbr\src\o
      rg\jboss\soa\esb\samples\quickstart\funcbr\MyJMSListenerAction.java:48: warning:
      [deprecation] getByteArray() in org.jboss.soa.esb.message.Body has been depreca
      ted
      [javac] System.out.println(message.getBody().getByteArray());
      [javac] ^
      [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\fun_cbr\src\o
      rg\jboss\soa\esb\samples\quickstart\funcbr\ReturnJMSMessage.java:54: warning: [d
      eprecation] getByteArray() in org.jboss.soa.esb.message.Body has been deprecated

      [javac] String newMsg = new String(esbMessage.getBody().getByteA
      rray());
      [javac] ^
      [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\fun_cbr\src\o
      rg\jboss\soa\esb\samples\quickstart\funcbr\TeamAlert.java:36: warning: [deprecat
      ion] getByteArray() in org.jboss.soa.esb.message.Body has been deprecated
      [javac] System.out.println(new String(message.getBody
      ().getByteArray()));
      [javac]
      ^
      [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\fun_cbr\src\o
      rg\jboss\soa\esb\samples\quickstart\funcbr\TeamAlert.java:51: warning: [deprecat
      ion] getByteArray() in org.jboss.soa.esb.message.Body has been deprecated
      [javac] System.out.println(new String(message.getBody
      ().getByteArray()));
      [javac]
      ^
      [javac] C:\labs\RHDS\ESBTrunk_4.2d\product\samples\quickstarts\fun_cbr\src\o
      rg\jboss\soa\esb\samples\quickstart\funcbr\TeamAlert.java:66: warning: [deprecat
      ion] getByteArray() in org.jboss.soa.esb.message.Body has been deprecated
      [javac] System.out.println(new String(message.getBody
      ().getByteArray()));
      [javac]
      ^

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                burrsutter Burrsitis Sutter
                Reporter:
                burrsutter Burrsitis Sutter
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: