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
, '${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
.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
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
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.
.
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
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.
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.
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
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
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
Route details - whenever any message is sent to test.* queue, it is
intercepted and xslt transformation is done.
---
, 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
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
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
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
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
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
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
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.
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
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
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
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
}
${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
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.
26 matches
Mail list logo