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
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?
Thanks for input.
Shiv
--
View this message
.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
. 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/XmlJsonDataFormat-Camel-2
.
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.
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
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
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 property name=quot;urlquot;
value=quot;jdbc:microsoft:sqlserver://lt;hostname:1433;DatabaseName=testdb/
as per info from Fuse ESB
Route details - whenever any message is sent to test.* queue, it is
intercepted and xslt transformation is done.
---
bean id=messageTransformer class=com.test.MessageTransformer /
),org.apache.commons.lang;ve
rsion=[2.6,3),org.w3c.dom,org.xml.sax
commons-collections and commons-lang jars are available in 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
, 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
)[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 mailing list
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
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:
http://camel.465427.n5
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
compatibility 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.
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
it also 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
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
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
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-tp5743826p5743851
which is typicall an Active MQ queue
end point.
recipientList delimiter=,
simple${in.header.RecipientList}/simple
/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
23 matches
Mail list logo