Yes in the receive methods that return an Exchange you have access to
the out message where you can get the body/headers etc.
The receiveBody methods are for returning only the body.
On Tue, Jan 21, 2014 at 12:22 AM, Knut-Håvard Aksnes khaks...@gmail.com wrote:
Is it possible using receive
Hi,
To add to Jans answer.
JMeter can also handle JMS
http://jmeter.apache.org/usermanual/build-jms-topic-test-plan.html
An alternative to JMeter if your message channel is a SOAP or REST
endpoint is to use soapUI (with loadUI).
http://www.soapui.org/
It also has support for JMS though I never
I am sorry but I have not understood your example.
Coming back to your rules:
1. Blueprint requires the presence of all the objects (beans) in the
public OSGi part.
You can create blueprint beans with a class from a private package. Why
should that not work?
2. These objects can create
Hi Camel users
I am testing LevelDB as repository for the aggregator component. After
reading the docs about the sync flag, I am unsure if I need to set it or
not.
Let's say my Java process with the Camel aggregator dies (not gracefully).
What happens to the aggregation?
A current aggregation in
Hi
Yeah that is intended as when an exception occurs the exchange does
not include any partial changes/updates that may have happened.
Camel does a defensive copy of the information from the message in its
error handler.
On Mon, Jan 20, 2014 at 12:41 PM, Lorenzo Bolzani l.bolz...@gmail.com
Hi Claus,
I created https://issues.apache.org/jira/browse/CAMEL-7144
Kind regards
Dominik
--
View this message in context:
http://camel.465427.n5.nabble.com/Blueprint-route-not-shutdown-when-using-OSGi-service-processor-tp5746114p5746273.html
Sent from the Camel - Users mailing list archive
Hi Camel users
I ran into another problem with the LevelDB aggregator persistence. The
error I get is Error opening LevelDB with file [path to persistentFileName].
The cause of it is LOCK: already held by process.
This happens when I run multiple route tests using CamelSpringTestSupport.
The
Thanks for your response. I think i got it. Let me state it to confirm, then
I have a follow up question.
So the /.to(endpoint-type:URL-of-endpoint-API)/ establishes a contract
with Camel that a) the /endpoint-type/ defines the message format among
other things required by the endpoint; and b)
Hi
I've just tested the route following two scenarios and I as far I can see,
the handler works but only when the transacted/ instruction is removed
from the route.
I wrote down a test bean testBean which it throws an exception and I
tested that the route below works and the exceptions are
There is a middleware in between of two other software components. In the
middleware I'm routing Apache ActiveMQ messages by Apache Camel.
this is how it works:
1) 1stComponent uses middleware to send message to the 3rdComponent
2) 3rdComponent replies the message and sends it back to the
Hi guys,
consider the following route:
from(srcEndpoint).
to(destEndpoint1).
to(destEndpoint2)
I have a Java program which does the following:
- create a Camel exchange, add an onComplition action to remove the exchange
from the cache on success, store the exchange in a cache, and then send it
Your use case it slightly different then the standard use case but perhaps
the Idempotent Consumer will suit your needs?
http://camel.apache.org/idempotent-consumer.html
On Tue, Jan 21, 2014 at 2:12 PM, shindito atanas.shin...@gmail.com wrote:
Hi guys,
consider the following route:
Thank you a lot: I was for some reason only searching for the calls using the
default endpoint as I tend to use @EndpointInject with the uri option in
tests.
--
View this message in context:
http://camel.465427.n5.nabble.com/OutHeaders-and-ProducerTemplate-tp5746262p5746282.html
Sent from the
Hi
By accident I noticed that when I configure a LevelDB aggregator
persistence with completionSize = 1 (yes I know, this is kind of an
aggregator that does not aggregate), I get the stacktrace below on every
message.
As soon as I set a completionSize 1, everything runs fine.
I guess this is a
Hi
Yeah you are welcome to raise a JIRA.
And as we love contributions, a bug fix is appreciated.
On Tue, Jan 21, 2014 at 4:25 PM, Stephan Burkard sburk...@gmail.com wrote:
Hi
By accident I noticed that when I configure a LevelDB aggregator
persistence with completionSize = 1 (yes I know,
After further reading it appears that as Camel's default message
acknowledgement mode is 'auto' I would have to switch to 'transacted
acknowledge mode' (use transacted/ on the route).
Therefore am I correct in assuming that to in order to avoid 'losing'
messages that I would have to implement XA
the camel-hdfs producer will throw an error if the send operation
fails...internally it just uses a standard HdfsOutputStream...so any step in
the route following this send would only be triggered upon successful send
operation, and you can use standard Camel onException/doCatch routing
exception
Hi all,
We are trying to set the timeout for http client connections. The http
component docs (http://camel.apache.org/http.html) indicate that we should
be able to set this as a URI param (eg. -
http://foo.com?httpClient.soTimeout=5000), BUT this doesn't work if setting
the URI via the
Hi
Its working as designed.
The httpClient.xxx are options specific to the http client you want to
use for the endpoint when its created.
The Exchange.HTTP_URI is only for the uri to call the remote http
server. And not to configure httpClient itself by camel etc.
On Tue, Jan 21, 2014 at
For the fixtures in the example, does that need to be embedded into a
Routebuilder? I'm still trying to setup this simple example but unsure how
the fixture here is actually invoked. Currently all of my routes are
actually created in the spring DSL as well. Any elaboration on this would
be
Yeah that would be the idea.
On Tue, Jan 21, 2014 at 5:50 PM, toomanyedwards
toomanyedwa...@gmail.com wrote:
Does that mean we can configure an endpoint in our route something like
http://dummyUri?httpClient.soTimeout=5000; and then before we use that
endpoint specify a URI using the
Does that mean we can configure an endpoint in our route something like
http://dummyUri?httpClient.soTimeout=5000; and then before we use that
endpoint specify a URI using the Exhange.HTTP_URI header (e.g. -
http://myservice.com) and in the example my route would use
http://myservice.com but would
I think this is more of a Camel question than a CXF question, but let me
know if that's not the case (would it have been bad form to cross-post this
to cxf-user?).
I have questions regarding use of Jackson with CXF, as well as how to get
CXFRS not to wrap the root value of a JSON payload.
I am
Great! Could the timeout then be different if I have several http endpoints
in a single route (e.g - http://myservicefoo?httpClient.soTimeout=500; and
http://myservicebar?httpClient.soTimeout=2500;) or is the timeout global
for a route? That is, do all http endpoints in a route use a single
Hi,
I'm trying to manage exceptions in my Java DSL routes (and sub-routes) by
setting errorHandler(noErrorHandler()) so that exceptions can propagate to
parent routes with their custom error handler. However, this doesn't seem to
work whenever exceptions are thrown within routes being called
Yeah define different foo/bar/zoo endpoints if you want different
timeouts.
On Tue, Jan 21, 2014 at 6:09 PM, toomanyedwards
toomanyedwa...@gmail.com wrote:
Great! Could the timeout then be different if I have several http endpoints
in a single route (e.g -
Hi
Please see comments below,
On 21/01/14 17:01, David wrote:
I think this is more of a Camel question than a CXF question, but let me
know if that's not the case (would it have been bad form to cross-post this
to cxf-user?).
I have questions regarding use of Jackson with CXF, as well as how to
Great! Thank you for the clarification. Makes sense. IMHO, it'd be great
if this functionality was documented more explicitly in the http component
doc. Seems like I wasn't the only one surprised by the way it works based
on the current docs. Also, it'd be helpful if the docs were more
I working on a test that sets up a CXF REST endpoint and then routes the
request to various beans depending on the operation. I'm trying to
include a log entry after the choice statement that sends the request to
the beans to log what the response looks like. Source code:
@Override
People are very welcome to contribute such as help improve the docs.
http://camel.apache.org/contributing.html
On Tue, Jan 21, 2014 at 6:30 PM, toomanyedwards
toomanyedwa...@gmail.com wrote:
Great! Thank you for the clarification. Makes sense. IMHO, it'd be great
if this functionality was
Consider an example. Example project in the attachment file.
For reasons of clarity, the project no services and no Apache Camel.
Build project:
Note the last warning.
Remove method getB. Build project. Last warning not exists.
myapp.tar.gz
Hi Richard,
thanks for your prompt reply.
It looks like the Idempotent Consumer might help, especially if in it's
File/JDBC based implementations the message ids are durably persisted (it
seems quite logical to be so), so that they are available after a JVM
restart for example.
However, the
Good point! I'll look into it. Thanks again!
--
View this message in context:
http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-tp5746289p5746303.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Atanas,
However, the usage of this EIP requires modification of the original route
(insertion of an idempotentConsumer instruction before every destination
endpoint) and I would prefer to use an alternative approach (if it's
possible).
Why would modifying the route (e.g. inserting
Try replacing endChoice() with end().
On Tue, Jan 21, 2014 at 6:55 PM, Christopher Arnold carn...@ptc.com wrote:
I working on a test that sets up a CXF REST endpoint and then routes the
request to various beans depending on the operation. I'm trying to include
a log entry after the choice
Comments in-line.
On Tue, Jan 21, 2014 at 12:34 PM, Sergey Beryozkin sberyoz...@gmail.comwrote:
Hi
Please see comments below,
On 21/01/14 17:01, David wrote:
I think this is more of a Camel question than a CXF question, but let me
know if that's not the case (would it have been bad form
That did the trick. Thanks!
-Chris
On 01/21/2014 03:10 PM, Richard Kettelerij wrote:
Try replacing endChoice() with end().
On Tue, Jan 21, 2014 at 6:55 PM, Christopher Arnold carn...@ptc.com wrote:
I working on a test that sets up a CXF REST endpoint and then routes the
request to various
HI,
i'm new to camel and have spent a bit of time checking out several options
for processing CSV data.
so far bindy looks like a pretty good deal, but for one shortcoming - the
csv i have to process is both long ( millions of records ) and wide (
hundreds of columns)
while i've found the
On January 22, 2014 at 5:14:40 AM, David (wakarima...@gmail.com) wrote:
When my route attempts to invoke Service2, the URI is set to:
http://localhost:8080/service2/service2path/service1/service1path,
where
service1/service1path is configured in my.Service1. I'm also
not sure why
I'm
Hi,
If you set the cxfEndpoint property in a processor, it’s a setting of runtime.
As the CxfProducer is created during the camel context start the route, the
cxfEndpoint’s property is not updated.
My suggestion is you set the cxfEndpoint property in the route builder
configure method instead
Hi,
You can have a look at the camel cxf examples[1] which can address some of your
concern.
BTW, CXF support the SOAP and REST at the same time.
[1]http://camel.apache.org/cxf-example.html
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog:
On Tue, Jan 21, 2014 at 8:16 PM, Willem Jiang willem.ji...@gmail.comwrote:
On January 22, 2014 at 5:14:40 AM, David (wakarima...@gmail.com) wrote:
When my route attempts to invoke Service2, the URI is set to:
http://localhost:8080/service2/service2path/service1/service1path,
where
It appears you're contacting us with an email address that is not
registered on your PayPal account. We cannot send any account
information to an unregistered email address. You need to contact us
from an email address that is registered and confirmed on your PayPal
account.
If you do not have
Dear ,
It appears you're contacting us with an email address that is not
registered on your PayPal account. We cannot send any account
information to an unregistered email address. You need to contact us
from an email address that is registered and confirmed on your PayPal
account.
If you do
Dear ,
It appears you're contacting us with an email address that is not
registered on your PayPal account. We cannot send any account
information to an unregistered email address. You need to contact us
from an email address that is registered and confirmed on your PayPal
account.
If you do
Dear ,
It appears you're contacting us with an email address that is not
registered on your PayPal account. We cannot send any account
information to an unregistered email address. You need to contact us
from an email address that is registered and confirmed on your PayPal
account.
If you do
Dear ,
It appears you're contacting us with an email address that is not
registered on your PayPal account. We cannot send any account
information to an unregistered email address. You need to contact us
from an email address that is registered and confirmed on your PayPal
account.
If you do
Dear ,
It appears you're contacting us with an email address that is not
registered on your PayPal account. We cannot send any account
information to an unregistered email address. You need to contact us
from an email address that is registered and confirmed on your PayPal
account.
If you do
Hi All,
I read in some blog that I can use FUSE IDE to write spring xml in Apache
Camel,
I will be glad to use FUSE IDE , but I don't understand how to install all
together,
ActiveMQ + Apache Camel + FUSE IDE
Is there good guide (step by step) how to install and use all together?
Best
Once you install Fuse IDE, you can create Camel specific projects and also
create Camel Context xml.
-Original Message-
From: gadido30 [mailto:gadid...@gmail.com]
Sent: Wednesday, January 22, 2014 11:36 AM
To: users@camel.apache.org
Subject: Apache Camel and Jboss FUSE IDE
Hi All,
I
Thank You,
Ok , Then what should I load in AcriveMQ and Camel? How do I use what I save
in Fuse IDE with ActiveMQ and Camel?
Gadi
--
View this message in context:
http://camel.465427.n5.nabble.com/Apache-Camel-and-Jboss-FUSE-IDE-tp5746328p5746330.html
Sent from the Camel - Users mailing list
In FUSE IDE, you create a Camel project using the maven archetypes. The
archetypes are like templates that set the basic project for you. They
create a standard Maven project. So if you choose camel-archetype-activemq,
it will setup all the requisite jars (for Camel and ActiveMQ) using Maven
52 matches
Mail list logo