Hi there,
try replacing simple with constant.
from()
...
...
.setBody(*constant*(null)).to(http://example.com/id/1)
.process(new MyProcessor()).to(mock:target);
On Fri, Mar 28, 2014 at 2:29 PM, Olaf omgolafg...@gmail.com wrote:
Hello,
at some point in my route I need to make a GET request.
Hi There,
For select operations, the returned result is an instance of ListMapString,
Object type, as returned by the JdbcTemplate.queryForList() method. For
update operations, the result is the number of updated rows, returned as an
Integer.
In a processor you can access them as below:
Hi There,
In camel there is a camel-zipfile component. But i think it works for
single file only.
http://camel.apache.org/zip-file-dataformat.html
I am not sure but i think camel-exec component may work in your case.
http://camel.apache.org/exec.html
My bad, I recalled it after sending the reply.
Please accept my apology.
On Tue, Dec 10, 2013 at 1:58 PM, Claus Ibsen claus.ib...@gmail.com wrote:
On Tue, Dec 10, 2013 at 9:25 AM, talk2patel86
dharmendra.k.pa...@gmail.com wrote:
I believe you are using camel file2 component. In that
Hi,
Can you please share the xml route.
On Tue, Dec 10, 2013 at 6:30 PM, jguerra jg.gue...@gmail.com wrote:
Hi,
I switched /transaced and onException with no luck!. Camel still
doesn't
catch any exception. I am tried with java.lang.Exception and
java.sql.SQLException. The funniest part is
Hi there,
Can you please clarify the source and target data format.
On Mon, Dec 9, 2013 at 3:12 AM, madusanka madusankabalasoor...@gmail.comwrote:
Hi,
We can transform the XML format using XSLT. Likewise is there a way to
transform JSON format?
--
View this message in context:
Hi There,
I think it is a bug.
in org.apache.camel.component.sql.SqlProducer class code highlighted in
red(line no 120) could be shifted to line no 92(highlighted in green).
else {
boolean isResultSet = ps.execute();
if (isResultSet) {
* // preserve
replaceproducer.sendBody(direct:step1, test message); with
producer.asyncSendBody(direct:step1, test message);
and you don't need to start consumer manually( consumer.start();) as camel
does it automatically when ConsumerTemplate is created.
-- Forwarded message --
From: