Hello,

I want to know how I can tell which data types are being returned when I use
a SQL component.  For example, in a processor, I have the following snippet:

Map <String, Object> lineItem = (Map <String, Object>)
exchange.getIn().getBody();     
??? customerCode =  (???) lineItem.get("CUSTOMER_CODE");

How do I know which type of object lineItem.get("CUSTOMER_CODE") will
return?  What can I cast it to?

I am using Camel 2.17.2 and Java 8.

Thank You



--
View this message in context: 
http://camel.465427.n5.nabble.com/SQL-Component-Data-Types-tp5784502.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to