5 Replies Latest reply on Dec 9, 2010 4:32 PM by futuredan

    Trouble with org.apache.servicemix.nmr.api.Message.addAttachment

    futuredan Newbie

      I have the following code:

       

           outMsg.setBody( "

       

       

      In the second bean, calling

       

      msgXchg.getIn().getAttachments().size()

       

      returns 0.

       

      Is there something special that needs to be done with  org.apache.servicemix.nmr.api.Message.addAttachment?