I'm new to camel,, when i call webservice through camel i'm getting this
exception
pls help me anyone ,i'm very thankful to help me
Caused by: java.lang.IllegalStateException: ServiceConfiguration must
provide a value!
at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.get
As the message header could be override or lost in the processor. My suggest is
put the old message body into exchange property. Camel is copying the exchange
properties by default.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http:/
So I think there is a problem with the way rollback is implemented in
relation to Camel. As far as I can tell there is no way to get the
following working.
package com.ea.wwce.camel.test.utilities;
import com.ea.wwce.camel.utilities.data.RecordList;
import com.ea.wwce.camel.utilities.transactions
ah! Thank you, works as expected:
${body}
${body}
headers.currentBody
...albeit not as clean as a "toHeader" option on the velocity component :)
--
View this message in context:
http://camel.465427.n5.nabble.com/Set-header-using-velocity-template-tp5750248p5750271.html
Also I did see that when I remove failover from the Broker URL it seems to be
working fine.
Currently its set to
broker.url=failover:(ssl://server:61617)?maxReconnectDelay=6
Is there anything that needs to be changed to accommodate failover?
--
View this message in context:
http://camel
Yes, I do have cache level set to CACHE_CONSUMER as recommended.
Below is my spring configuration,
Velocity will put the result of the evaluation in the message body, you
cannot change that.
But you could preserve the existing body by putting it into a header before
calling velocity template, and then swap the template result with the
previous body afterwards...
HTH
On 15 April 2014 18:13, d
Sorry, I should have given more detail.
I am using velocity to create web pages. My template is an html formatted
document (about 40 lines) that uses existing exchange headers. (This gets
turned into a web page downstream.)
In my (xml) route I have something like:
However, this puts
Hi
I have been successfully running several routes connecting to a JMS queue
using Websphere MQ. I have several routes each of them handling specific
messages (using selectors). No I am at a point where the number of
connections to the queue are growing and want to use a connection pool.
I am try
> I currently use velocity to set the message body. Now, I would like to
> use it to set a _header_. I haven't found any example of this.
> Obviously I could write a processor/bean. Is there a better way?
Why do you want to use velocity for that?
Just
from(...)
.setHeader("headerName", cons
Have you read the documentation and tried the example?
$in.setHeader('fruit', 'orange')
http://camel.apache.org/velocity.html
On 15 April 2014 15:52, dunnlow wrote:
> I currently use velocity to set the message body. Now, I would like to use
> it to set a _header_. I haven't found any ex
I currently use velocity to set the message body. Now, I would like to use
it to set a _header_. I haven't found any example of this. Obviously I
could write a processor/bean. Is there a better way? Thanks. -J
--
View this message in context:
http://camel.465427.n5.nabble.com/Set-header-fr
has to wait. (To mock it I set it to expect more
messages then it will ever get.)
09:12:06,352 INFO [CompositeTransactionImp] registerSynchronization (
com.atomikos.jms.ConsumerProducerSupport$JmsRequeueSynchronization@80553152)
for transaction 20140415-091204_AtomikosTxnMgr0001
On Mon, Apr 14, 2014 at 3:24 PM, nqbeel wrote:
> Trying to set up a route with transaction handling on a camel, this leads to
> connection to the activeMQ drop and reconnect every few milliseconds is this
> expected, is there a work around?
>
Do you use caching as recommended here, eg see that 2n
On Mon, Apr 14, 2014 at 8:53 PM, moj0002 wrote:
> okay I figured it out I think,
>
> The CamelJdbcUpdateCount contains rows inpacted included rows DELETED, maybe
> it is using a prepared statement behind the scene
>
> I first dumped all the headers and
> found the property in the input header
>
>
> I think you are right.
> currently, the result is a series of child elements and the parent
> context information is not included in the result (except the namespace
> binding information that can be extracted into the split child
> elements).
>
> When I pushed the current implementation, I had
I think you are right.
currently, the result is a series of child elements and the parent
context information is not included in the result (except the
namespace binding information that can be extracted into the split
child elements).
When I pushed the current implementation, I had the code sitti
Hello,
I have to deal with large xml data in our camel application. In the camel
documentation I've found the splitting with the
xmltokenizer(split().xmlTokenize()).
First it looked fine for me, but then I noticed that there is no possibility
to add the root element to the splitted xml's.
Xml loo
okay I figured it out I think,
The CamelJdbcUpdateCount contains rows inpacted included rows DELETED, maybe
it is using a prepared statement behind the scene
I first dumped all the headers and
found the property in the input header
Then this works
I am still confused as to why I am loo
19 matches
Mail list logo