Using this option, I get the following error :
org.apache.camel.component.http.HttpOperationFailedException: HTTP operation
failed invoking http://0.0.0.0:8282/reportservice/incidents with statusCode:
407
at
Hi Charles,
Please check out this option for http producer.
throwExceptionOnFailure true Camel 2.0: Option to disable throwing
the HttpOperationFailedException in case of failed responses from the
remote server. This allows you to get all responses regardles of the
HTTP status code.
If I use this option, I get now :
org.apache.commons.httpclient.NoHttpResponseException: The server localhost
failed to respond
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1976)
at
On Fri, Dec 11, 2009 at 11:21 PM, Dragisa Krsmanovic
dkrsmano...@plos.org wrote:
In this route, although message, correctly, does not get to mock:end, it
does not seem to go to mock:error either.
doTry .. doCatch .. doFinally does NOT use regular error handling.
Its in fact its own little
Hi,
I have a StringMessage which contains and XML body. I would like to use
a unique part of the body as the filename in conjunction with the file
component. Is it possible to consume from JMS and send to file with the
filename the result of an XPath match?
Thanks,
Martin.
On Mon, Dec 14, 2009 at 11:55 AM, Martin Gilday martin.li...@imap.cc wrote:
Hi,
I have a StringMessage which contains and XML body. I would like to use
a unique part of the body as the filename in conjunction with the file
component. Is it possible to consume from JMS and send to file with
Hello Willem and Clause!
Thank you for response.
I added:
mockEndpoint.await(1, TimeUnit.MINUTES);
and the test now runs fine :))
Best of the best regards,
Nick
On Mon, Dec 14, 2009 at 11:11 AM, Claus Ibsen claus.ib...@gmail.com wrote:
On Mon, Dec 14, 2009 at 9:09 AM, Willem Jiang
Hello,
I am trying to use the RSS component with a proxy server but it doesn't
appear to support this via parameters or in an obvious way? I created a
similar patch for the http component a while ago but am surprised something
like this isn't supported via the RSS component?
Thanks
Jonathan
--
Here is me with more questions/bug report.
I've noticed that Camel can be very sensitive on order operators are
invoked in route builder.
For example, transacted() has to be after onException(). Otherwise,
onException() is completely ignored and message will just pass through
error handling code
Hi
Yeah we will in the future break up the DSL to have a route setup part
and then the regular part for the route flow.
The former should setup onException, transaction, onCompletion,
interceptors and what not, eg cross function stuff.
And the latter is for the route.
The problem is that its
Hi,
I'm trying to udnerstand a camel example, but I'm stuck at a poit where
xpath is used. The builder is shown here:
public void configure() {
from(SERVICE_IN) // SERVICE_IN =
jbi:service:http://esbinaction.com/insurance/insuranceDSLRouter
Is it possible to do this same 'hookup' using the Spring DSL. I am not sure
if it is possible to specify this in Spring:
HttpComponent httpComponent = (HttpComponent)
getContext().getComponent(http);
httpComponent.setHttpClientConfigurer(new MyHttpClientConfigurer());
bwhite wrote:
Thanks
The xpath expression is going to be evaluated against the incoming message
body. So, if we have a message like:
?xml version=1.0 encoding=UTF-8?
TravelInsuranceRequest xmlns=http://dzone.com/insurance;
...
/TravelInsuranceRequest
the first when clause will evaluate to true since the xpath
On Mon, Dec 14, 2009 at 8:30 PM, ychawla premiergenerat...@yahoo.com wrote:
Is it possible to do this same 'hookup' using the Spring DSL. I am not sure
if it is possible to specify this in Spring:
HttpComponent httpComponent = (HttpComponent)
getContext().getComponent(http);
Claus Ibsen-2 wrote:
I have worked on this and committed a fix. Can you test it on your end?
Hi Claus,
sorry for the late reply but I just came to the office (I am traveling a
lot)
I am currently compiling latest revision and will test it soon.
Thanks,
Marco
--
View this message in
I am using Camel 2.2 (rev 890454)
How is it possible to know if an exchange has exceeded the
maximumRedeliveries configured on the route by using aggregationStrategy and
if it hasn't how many redelivery have been attempted?
route sample:
from(direct:delivery.notification.test)
Hi Gang,
I added an update to the WIKI with some more info on doing this with Spring:
http://cwiki.apache.org/confluence/display/CAMEL/HTTP
I hope this is okay. Here are the details:
If you are doing this using the Spring DSL, you can specify your
HttpClientConfigurer using the URI. For
I see that Camel 2.1 now support starting/stopping routes via JMX/APIs. But,
how do I identify routes properly at runtime...
For example, assume I have the following route...
from(activemq:queue1).to(activemq:queue2);
from(activemq:queue2).to(activemq:queue3);
They show up in JMX as route1
Yes, supporting to set the route name would be very useful when you want
manage the route states from JMS or API.
I just created a JIRA[1] for it.
[1] https://issues.apache.org/activemq/browse/CAMEL-2290
Willem
boday wrote:
I see that Camel 2.1 now support starting/stopping routes via
You can set custom ids for each route like this:
from(activemq:queue1).id(InboundRoute).to(activemq:queue2);
from(activemq:queue2).id(ProcessingRoute).to(activemq:queue3);
in the Spring DSL you can just use standard id attributes like:
...
route id=InboundRoute
...
On Mon, Dec 14, 2009 at 9:45
Hi Jon,
After checking the code, I think the DSL should be
from(activemq:queue1).routeId(InboundRoute).to(activemq:queue2);
from(activemq:queue2).routeId(ProcessingRoute).to(activemq:queue3);
Willem
Jon Anstey wrote:
You can set custom ids for each route like this:
Ha! This must have changed since the last time I used it ;)
On Mon, Dec 14, 2009 at 11:15 PM, Willem Jiang willem.ji...@gmail.comwrote:
Hi Jon,
After checking the code, I think the DSL should be
from(activemq:queue1).routeId(InboundRoute).to(activemq:queue2);
22 matches
Mail list logo