Hi, I'm getting multiple records using sql and splitting them paralleling for next route. But not able to get the values from the splitted record.
from("sql:select * from orders where processed = false") .log("Query Message :${body}").split(body()) .parallelProcessing().to("direct:split").end(); from("direct:split").routeId("SplitParallel") .log("Split Message :${body}") *.log("Split Message :${body.ID}")*.end(); The highlighted giving the following error: *org.apache.camel.language.bean.RuntimeBeanExpressionException: Failed to invoke method: .ID on null due to: org.apache.camel.language.bean.RuntimeBeanExpressionException: Failed to invoke method: ID on null due to: org.apache.camel.component.bean.MethodNotFoundException: Method with name: ID not found on bean: {ID=11, ITEM=we, AMOUNT=null, DESCRIPTION=null, PROCESSED=false} of type: org.springframework.util.LinkedCaseInsensitiveMap. Exchange[JmsMessage@0x5eada9d2]* ------------- BodyType org.springframework.util.LinkedCaseInsensitiveMap Body {ID=11, ITEM=we, AMOUNT=null, DESCRIPTION=null, PROCESSED=false} -------------- -- View this message in context: http://camel.465427.n5.nabble.com/Camel-get-values-from-body-after-split-tp5769373.html Sent from the Camel - Users mailing list archive at Nabble.com.