Re: Using Message Headers & Body into Camel SQL Insert statement

2015-12-18 Thread Shiv
Thanks for the reply. Headers are getting accessible with :#HeaderName format. Any idea how we can access the body? -- View this message in context: http://camel.465427.n5.nabble.com/Using-Message-Headers-Body-into-Camel-SQL-Insert-statement-tp5775107p5775269.html Sent from the Camel - Users m

Using Message Headers & Body into Camel SQL Insert statement

2015-12-15 Thread Shiv
, '${in.body}') #Insert query in properties file - this is also not working SQLInsertQuery=insert into Message (messageId, messageBody) values(:#${header.JMSMessageID}, :#${body}') My route calls below but insert is failing in call cases. Am I missing anything in expression? Thank

Problem with FileConsumer and Poll Enrich - .lock file not getting deleted

2015-12-02 Thread Shiv
.465427.n5.nabble.com/Problem-with-FileConsumer-and-pollEnrich-td476466.html and https://issues.apache.org/jira/browse/CAMEL-1895 which indicate that there were some issue when both starting point and poll enrich are file based. If the issue is still there? Shiv -- View this message in

XmlJsonDataFormat - Camel 2.16.0 - xom.jar

2015-10-16 Thread Shiv Kandavelu
h Camel? 2. When I added camel-xmljson in my project in NetBeans, it added the dependent jars, but it never complained about the xom dependency. why it didn't complain? Please help me understand. Thanks, -Shiv -- View this message in context: http://camel.465427.n5.nabble.com/XmlJsonDat

Re: Validator component in camel route not starting up and failing with strange error message

2015-02-02 Thread Shiv
and it all worked well. Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Validator-component-in-camel-route-not-starting-up-and-failing-with-strange-error-message-tp5762310p5762321.html Sent from the Camel - Users mailing list archive at Nabble.com.

Validator component in camel route not starting up and failing with strange error message

2015-02-01 Thread Shiv
. Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Validator-component-in-camel-route-not-starting-up-and-failing-with-strange-error-message-tp5762310.html Sent from the Camel

Re: Using Timer in Camel

2014-09-02 Thread Shiv
Hi Charles, Thanks for your detailed reply. It resolves my query and confusion. -Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Using-Timer-in-Camel-tp5755951p5755990.html Sent from the Camel - Users mailing list archive at Nabble.com.

Using Timer in Camel

2014-09-02 Thread Shiv
hread will be used." Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Using-Timer-in-Camel-tp5755951.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-16 Thread Shiv
Finally i got the root cause of issue and fixed it. It was not actually related to classpath but it was caused due to wrong DB connection string. It was defined as :1433;DatabaseName=testdb"/> as per info from Fuse ESB page JDBC page (table 6) but it should be :1433;DatabaseName=testdb"/> Post

Re: Camel Route Start-up Failure due to OSGi Dependency Resolution Error in JBoss Fuse ESB 6.0

2014-05-16 Thread Shiv
I asked the question in JBoss Fuse forum as suggested and issue is fixed. It was coming due to the fact that Commons Collections jar is not part of default start up. We need to install it separately. Once I did that, issue is resolved. Thanks Shiv -- View this message in context: http

Re: ClassCastException in XML Parsing - JBoss Fuse ESB 6.0

2014-05-16 Thread Shiv
In order to fix the issue, I have changed the logic of bean which parses the XML and it is working fine. But it will be nice to know the root cause of such exception. Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/ClassCastException-in-XML-Parsing-JBoss-Fuse

Re: ClassCastException in XML Parsing - JBoss Fuse ESB 6.0

2014-05-15 Thread Shiv
Route details - whenever any message is sent to test.* queue, it is intercepted and xslt transformation is done. ---

Multiple DB inserts due to org.apache.camel.impl.DefaultMessage cannot be cast to org.apache.camel.component.jms.JmsMessage exception while using local JMS transaction

2014-05-14 Thread Shiv
, it works fine. Apart from upgrading to higher Camel version, anybody has faced this issue and figured the solution? All inputs are welcome. Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Multiple-DB-inserts-due-to-org-apache-camel-impl-DefaultMessage-cannot-be

Camel Route Start-up Failure due to OSGi Dependency Resolution Error in JBoss Fuse ESB 6.0

2014-05-14 Thread Shiv
n system folder of JBoss Fuse HOME. Import of org.apache.commons.lang is resolved but import of org.apache.commons.collections.map is failing. Any idea what is missing? Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Route-Start-up-Failure-due-to-OSGi-Depe

ClassCastException in XML Parsing - JBoss Fuse ESB 6.0

2014-05-13 Thread Shiv
r.java:132)[132:org.springframework.osgi.extender:1.2.1] at java.lang.Thread.run(Thread.java:662)[:1.6.0_45] Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/ClassCastException-in-XML-Parsing-JBoss-Fuse-ESB-6-0-tp5751062.html Sent from the Camel - Users ma

Re: Camel Scripting questions - may some of you can help

2014-05-12 Thread Shiv
You might need to add camel-groovy jar to your POM to get rid of this exception. Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Scripting-questions-may-some-of-you-can-help-tp5750964p5750967.html Sent from the Camel - Users mailing list archive at

Re: java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-11 Thread Shiv
o required type [java.lang.Class] for property 'driverClass'; nested exception is java.lang.IllegalArgumentException: Cannot find class [com.microsoft.sqlserver.jdbc.SQLServerDriver] I don't get this error when sqljdbc jar is present. Thanks Shiv -- View this message in context

Re: java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-07 Thread Shiv
Since I am using Fuse ESB 5.3.0, I have copied sqljdbc.jar, org.springframework.jdbc-2.5.6.jar and camel-jdbc-2.2.0.jar to FUSE HOME/lib folder. Is this is not the right location or do we need more jars? Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/java-lang

Re: java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-05 Thread Shiv
I do not see any log statement from DriverManagerDataSource class in my log file :(. Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/java-lang-NullPointerException-in-Camel-JDBC-component-for-Select-statement-tp5750783p5750881.html Sent from the Camel - Users

Re: java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-05 Thread Shiv
issue? Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/java-lang-NullPointerException-in-Camel-JDBC-component-for-Select-statement-tp5750783p5750872.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-04 Thread Shiv
expect to log successful connection message if connection is created successfully? Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/java-lang-NullPointerException-in-Camel-JDBC-component-for-Select-statement-tp5750783p5750852.html Sent from the Camel - Users

Re: java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-02 Thread Shiv
was one difference. If there are ways to get more debug information to fix this issue? Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/java-lang-NullPointerException-in-Camel-JDBC-component-for-Select-statement-tp5750783p5750788.html Sent from the Camel - Users

java.lang.NullPointerException in Camel JDBC component for Select statement

2014-05-02 Thread Shiv
Hi all, I am using Camel JDBC component for first time and I need to query a table in MS SQL Server 2008 R2 and push the results to an ActiveMQ queue. I used the details on http://camel.apache.org/jdbc.html page and tried to get the setup. Once my route define in Spring configuration file is starte

Re: Mutlicasting to dymanic recipient list

2013-11-27 Thread Shiv
Camel 2.2 is part of one of the legacy system we have as of now. It could be upgraded to higher version in near future. -Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Mutlicasting-to-dymanic-recipient-list-tp5743826p5743939.html Sent from the Camel - Users mailing

Re: Mutlicasting to dymanic recipient list

2013-11-26 Thread Shiv
} ${in.header.RecipientList} However, if better solution is available, do let me know. I believe higher version of Camel allows creation of custom exchange in case of multicast/recipient list. Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com

Mutlicasting to dymanic recipient list

2013-11-25 Thread Shiv
point. ${in.header.RecipientList} Thanks Shiv -- View this message in context: http://camel.465427.n5.nabble.com/Mutlicasting-to-dymanic-recipient-list-tp5743826.html Sent from the Camel - Users mailing list archive at Nabble.com.