1 Reply Latest reply on Feb 16, 2013 3:56 AM by davsclaus

    content of the body is not transforming well in the routes and throwing exc

    amseshu

      We recently upgraded to FUSE ESB Enterprise Version from old version apache-servicemix-4.4.1-fuse-01-13 to a new version fuse-esb-7.1.0.fuse-047 in our UAT that causing the issue guessing with the changes below:

       

      Changes in the BodyType (I have find the following changes in the BodyType of the messages)

      QA (new version): BodyType: org.apache.servicemix.jbi.jaxp.StaxSource

      QA (old version): BodyType: org.apache.camel.converter.stream.SourceCache

       

      The above changes causing the below exception while posting the request to our endpoint "To-VzServiceBridgeEndpoint"

       

      08:48:01,393 | INFO  | ndpoint-thread-3 | To-VzServiceBridgeEndpoint       | rg.apache.camel.util.CamelLogger  176 | 147 - org.apache.camel.camel-core - 2.1

      0.0.fuse-71-047 | Exchange[ExchangePattern:InOut, BodyType:org.apache.xerces.dom.DocumentImpl, Body:, org.apache.servicemix.correlationId=1790192043-52123-1360840580971-0-2176, nmrExchange=[  id:        1790192043-

      52123-1360840580971-0-2174  mep:       InOut  status:    Active  role:      Provider  target:    PropertyMatchingReference[{NAME=OutboundxxxIncidentRequest}

      ]  properties: [      CamelCreatedTimestamp = Thu Feb 14 08:48:01 PST 2013      CamelToEndpoint = nmr://OutboundxxxIncidentRequest?synchronous=true      Cam

      elCharsetName = UTF-8  ]], CamelCreatedTimestamp=Thu Feb 14 08:48:01 PST 2013, javax.jbi.ServiceName=ServiceBridge

      -Out, org.apache.servicemix.senderEndpoint=provider:ID:209.114.70.214-13cd86b35c5-33:0, com.vzb.ram.xsl.VzbStatus=OtherS

      tatus, CamelCharsetName=UTF-8}, Headers:{nmrMessage=Message []}, BodyType:org.apache.servicemix.jbi.jaxp.StaxSource, Body:, org.apache.servicemix.correlationId=1790192043-52123-1360840580971-0-2176, nmrExchange=[  id:        179019

      2043-52123-1360840580971-0-2174  mep:       InOut  status:    Active  role:      Provider  target:    PropertyMatchingReference[{NAME=OutboundxxxIncidentReq

      uest}]  properties: [      CamelCreatedTimestamp = Thu Feb 14 08:48:01 PST 2013      CamelToEndpoint = nmr://OutboundxxxIncidentRequest?synchronous=true   

        CamelCharsetName = UTF-8  ]], CamelCreatedTimestamp=Thu Feb 14 08:48:01 PST 2013, javax.jbi.ServiceName=ServiceB

      ridge-Out, CamelFailureEndpoint=bean://xxxProcessRequestResponseMessage?method=getBody, org.apache.servicemix.senderEndpoint=provider:ID:209.114.70.214-13cd86b35c5-33:0, com.vzb.ram.xsl.VzbStatus=OtherStatus, CamelExceptionCaught=java.lang.Exception: Unable to find the  element in the incoming message. at com.vzb.ram.ebonding.xxx.common.beans.xxxProcessRequestResponseMessage.getBody(xxxProcessRequestR

      esponseMessage.java:53)

       

      Can you please suggest on the above exception?