my route looks like this:
from().
.toTry().process()
.doCatch(Exception.class)
.to().to().process()
.end()
My questions are:
1. is .doFinally compulsory after doCatch()?
2. In my case, how does route know whether second .to() in line 4 is inside
doCatch() or after doCatch()?
3. I am using cxfrs
This is bizarre...Can you please double check the custom code you may
have and see if "application/xml" is 'hiding somewhere' ? Can you do a
sanity check and confirm it is this endpoint which is being invoked
after all ?
Any chance you can attach a working route (test) to JIRA ?
Cheers, Sergey
Hi
You can do as shown on this link:
http://camel.apache.org/using-propertyplaceholder.html
At the section:
Using property placeholders for any kind of attribute in the XML DSL
On Mon, Jul 1, 2013 at 6:10 PM, josacu wrote:
> Hello everyone,
>
> I'm trying to use the completion interval proper
Hi,
with CamelTestSupport I can use isMockEndpointsAndSkip method to mock
existing endpoints, but for mocking the consumer endpoint I still have to
use AdviceWithRouteBuilder.
Is there a method in CamelTestSupport that I can override and mock the
consumer endpoints?
Thanks
Bilgin
Hello everyone,
I'm trying to use the completion interval property of aggregator. I am
successful using it like that:
...
...
But this way doesn't allow my to use dynamic values for completion interval
because it only accepts a long value.
In similar properties like completionTimeout it is po
Hadrian - I am eagerly waiting for the release of the SMPP component with TRX
support. And I guess , this conversational state pattern is a better
solutions. I am not sure how the listener at the producer side get handle to
the "processor" ?
-
~Sandeep
--
View this message in context:
htt
application/xml always works..
even if i am saying Produces json i still get output as xml
On Mon, Jul 1, 2013 at 12:01 PM, Sergey Beryozkin-3 [via Camel] <
ml-node+s465427n5735049...@n5.nabble.com> wrote:
> So, if you replace all of @Produces("application/json") with
> @Produces("application/
So, if you replace all of @Produces("application/json") with
@Produces("application/xml")
and do
curl -HAccept:application/xml ...
then it works ?
Sergey
On 01/07/13 16:40, ajaysam wrote:
I am sending the request through curl - it is setting Accept header as shown
below
curl -HAccept:appli
Hi,
I have the following camel route (in blueprint):
where myProcessor is a Camel Processor that set the CamelJmsDestinationName
header in the message depending on some content in the message body.
It's simple, and it works when I deploy it (into Fuse ESB).
But I want to write a test for this r
I am sending the request through curl - it is setting Accept header as shown
below
curl -HAccept:application/json
http://pocman2.nsp.stf.bms.com:8080/CXF_REST-0.0.1-SNAPSHOT/webservices/Hello/SilpaY
Hello is the path to refer to resource class
We are stuck in this project and any help will be a
pollEnrich doesn't use any data of the current exchange, which means the
setHeader doesn't take effect on pollEnrich.
I think you should check the message body, if it is null then set the message
header with the response code you want.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part o
Camel 2.11.0 using camel-mongodb-2.11.0.jar.
The odd thing is that I can do a "get" from mongodb. It's when the
TypeConverters are being invoked that the error is happening.
--
View this message in context:
http://camel.465427.n5.nabble.com/MongoDB-component-found-but-TypeConverter-is-NoClass
Hi,
I would like to create a kind of proxy which receives the requests, sends
it to a seda process and waits for the response. How can I send custom
error code back?
This doesn't work with camel 2.4, I always get 200 OK when file shows up in
dir within 30 seconds, if not then I get 500 Server Erro
Hi,
I have created another issue that contains an extension (including patch) which
makes it possible to use a Java KeyPair instead of an OpenSSH private key file:
https://issues.apache.org/jira/browse/CAMEL-6502
I have also looked into the jsch HostKeyRepository thing, but that interface is
a
Hi Chrisrtian,
Thanks for the reply. Issue in my case was, handleException of
ExceptionHandler class had IOException as method parameter. I removed this
method parameter from handleException method and it worked.
I was wondering if there is any way to pass parameters to handleException
method bea
Hi !
I'm trying to make my bus more robust, mostly against bad configuration /
unavailable service.
I use lots of http, cxf, file and mail (smtp) endpoints, but I'm not able to
find any doc listings exceptions they can throw, and when.
Does that kind of documentation exist ? and where ?
Regard
16 matches
Mail list logo