I am usign a router to consume messages from MQ. On exception, I want write
the incoming message to the error queue. However, it is not writing message
to error queue.
For testing, I called a method of a bean on exception and that worked fine.
but it is not publishing the message to error queue.
You can log a JIRA even you are not a committer :)
On Wed Jul 25 00:23:25 2012, wjmcdonald wrote:
Oh. Sorry - I presumed I had to be a committer to do that. I'll consider
it in the future however.
TIA,
--Bill
William McDonald
Sr. Software Developer | TransCentra, Inc.
Office: 1-602
Hello all,
I am a beginner of Camel and trying to figure out how to create route
properly.
What I'm trying to do is pretty simple. I have a JMS queue listener which
takes message one by one. Then this message will be logged by WireTap and
gets thrown into a threadpool(a pool of worker threads) to
If you use request/reply, try the vm component.
I would be surprised, if this is not the fastest solution...
Apache ServiceMix takes care of it, which version of Karaf, Camel, CXF,
ActiveMQ, ... works together. If you "only" use Karaf, it's your
responsibility to figure it out.
Best,
Christian
O
Thought I would share a virtual camel component I hacked together. Needs some
more work but the concept is good!
https://issues.apache.org/jira/browse/CAMEL-5466
Ari
--
View this message in context:
http://camel.465427.n5.nabble.com/new-virtual-camel-component-tp5716429.html
Sent from the Cam
I got camel-nmr to work, but performance was not very good.
WS Client -> HTTP Service -> CXF Endpoint -> NMR send -> NMR receive (and
back to WS Client)
this takes about 100 ms
WS Client -> HTTP Service -> CXF Endpoint (and back to WS Client)
this takes about 10 ms
So crossing the bundl
Thanks Christian,
I need InOut and I do want to avoid serialization/deserialization (for
performance reasons), and then the only option left is NMR, if I have
understood things correctly.
I will try to use camel-nmr from servicemix 4.4.2, and hope that it works
with camel 2.10.0 and Karaf 2.2.8 .
Unfortunately, we do not have a "real" test for this option (I couldn't
fine one at least)... :-(
But I assume you don't have to acknowledge it active. camel-jms will take
care of it (like if you use a transacted route).
The best would be, if you could open a JIRA for it (improvement) at [1].
[1]
Yeah you can find the details here about how you could contribute:
http://camel.apache.org/contributing.html
And the issue you have reported is already fixed which will be part of the
upcoming 2.11 / 2.10.1 / 2.9.3 releases.
Babak
--
View this message in context:
http://camel.465427.n5.nab
You have a number of choices: [1], [2], [3], [4] or [5] are the common ones.
But there are also fancy ones. Checkout [6] to get an overview on our
components...
Because camel-nmr is provided bei ServiceMix (as documented on the
component page), there is no version 2.10.0. The latest one is 4.4.2 [
The config you share here is not a Camel route.
You should take the time to study [1] before you ask your question again,
with more context...
[1] http://camel.apache.org/support.html
Best,
Christian
On Tue, Jul 24, 2012 at 12:39 PM, Alistair Young
wrote:
> Hi there,
>
> my camel won't start wi
You have to add a dependency to
org.apache.activemq
activemq-camel
5.6.0
org.apache.activemq
activemq-pool
5.6.0
You can find he camel-jms component for Camel 2.10.0 at:
http://search.mav
Oh. Sorry - I presumed I had to be a committer to do that. I'll consider
it in the future however.
TIA,
--Bill
William McDonald
Sr. Software Developer | TransCentra, Inc.
Office: 1-602-635-5910 | Mobile: 1-602-741-3664 |
william.mcdon...@transcentra.com | www.TransCentra.com
Perhaps this applies?
http://camel.465427.n5.nabble.com/Exception-from-child-route-not-caught-in-parent-onException-td4780851.html#a4781431
-matt
On Jul 23, 2012, at 5:16 PM, Matt Narrell wrote:
> I have a set of Java DSL RouteBuilders with onException clauses at the
> RouteBuilder level, and
The provider then needs to be registered directly with the rs endpoint
How can this be done? Is it possible in blueprint or in the java camel
route?
Could you please provide an example?
--
View this message in context:
http://camel.465427.n5.nabble.com/CXFRS-does-not-process-JSON-tp5716343p571
On 24/07/12 16:17, hom wrote:
I investigated further and found that in JAXRSUtils.processParameter the
statement
InputStream is = message.getContent(InputStream.class);
returns null.
If I look into the contents of the XMlMessage I see:
class org.apache.cxf.io.DelegatingInputStream
org.apache.
Hi
On 24/07/12 14:47, hom wrote:
I managed to wire up the bus to the endpoint by adding bus="tb" to the bus
element.
But now I get a NullPointerException. It seems that the
TransformInInterceptor has problems transformig the message. Here is the
stack trace:
I apologize, I did not give you en
I investigated further and found that in JAXRSUtils.processParameter the
statement
InputStream is = message.getContent(InputStream.class);
returns null.
If I look into the contents of the XMlMessage I see:
class org.apache.cxf.io.DelegatingInputStream
org.apache.cxf.transport.http.AbstractHTTPD
I get the following error while acknowledging -
"Create a separate session if you wish to use both synchronous methods and
asynchronous delivery simultaneously."
Probably I am getting this error because Camel Active-MQ endpoint will consume
messages asynchronously. What's the point in having the
the jar required the java mail jar to be in the classpath - doh! all
working now.
Alistair
---
Alistair Young
Senior Software Engineer
UHI@Sabhal Mòr Ostaig
>>> Willem Jiang 24/07/12 3:27 PM >>>
What's the stack trace did you get ?
On Tue Jul 24 21:16:34 2012, Alistair Young wr
What's the stack trace did you get ?
On Tue Jul 24 21:16:34 2012, Alistair Young wrote:
Is there any reason a org.apache.camel.Processor cannot call a static
method in a class that is in a jar in ACTIVEMQ_HOME/lib? The processor
just blows up whenever it tries to call the static method.
thanks,
I managed to wire up the bus to the endpoint by adding bus="tb" to the bus
element.
But now I get a NullPointerException. It seems that the
TransformInInterceptor has problems transformig the message. Here is the
stack trace:
2012-07-24 15:30:57,905 | DEBUG | er/v1/json/doit/ | PhaseInterceptorCh
Hi
On 24/07/12 14:52, bitter geek wrote:
Hi All,
I'm a bit confused with the sample code for creating rest endpoint.
I do not have access to the rest service class but only want to create
a rest endpoint to use with camel.
Do I only need to create rsClient tag? If so, what class do I put
there
Sorry for the confusing, I made a quick conclusion without reading the
mail twice.
On Tue Jul 24 17:22:40 2012, Babak Vahdat wrote:
Hi
The issue being reported here has nothing to do with CAMEL-5440 as this one
is about:
MockEndpoint.expectedBodiesReceivedInAnyOrder()
And not:
MockEndpoint.
Is there any reason a org.apache.camel.Processor cannot call a static
method in a class that is in a jar in ACTIVEMQ_HOME/lib? The processor
just blows up whenever it tries to call the static method.
thanks,
Alistair
---
Alistair Young
Senior Software Engineer
UHI@Sabhal Mòr Os
Hi Bilgin
Just awesome :-) Keep up the good job
Babak
Am 24.07.12 13:47 schrieb "Bilgin Ibryam" unter :
>Just giving heads up: a cmis component is in trunk and here is a small
>blog
>entry on how to use it:
>
>http://www.ofbizian.com/2012/07/content-migration-with-camel-cmis.html
>
>Thanks
>Bil
Thanks Willem!
Now I have a different problem.
I need the response message even if it has an http error code. But
Camel seems to throw an exception whenever that happens. And there is
not access to the response body even if I use onException to handle
the exception.
I tried "throwExceptionOnFail
Hello Everybody,
Is there a way to acknowledge message to the queue, asynchronously?
Acknowledgement mode can be set on the ActiveMQ endpoint to AutoAcknowledge or
to ClientAcknowledge. If acknowledgement mode is set to ClientAcknowledge, from
within a processor message can be acknowledged. Dou
Just giving heads up: a cmis component is in trunk and here is a small blog
entry on how to use it:
http://www.ofbizian.com/2012/07/content-migration-with-camel-cmis.html
Thanks
Bilgin
Where can I find a version of the *camel-nmr* component that works with camel
*2.10*?
I need to communicate between contexts in different osgi bundles (using
Karaf). I tried to use the *camel-context* component, but it does not seem
that it works between contexts in different bundles, correct?
So
I added a bus to the blueprint context file like this:
After deployment JConsole reveals that the bus is present.
Now I want to wire up the bus to the endpoint like this:
from("cxfrs:///xyz/json?bus=#tb&resourceClasses=" +
Resource.class.getName())
This fails as the bus can
Hi there,
my camel won't start with this config but won't log the reason why:
${header.retryCount} > 10
I presume it doesn't like process inside when as it starts if I remove
it. The imcProcessor bean is loaded fine. Is it possible to use
Hi!
I am using using camel 2.9.0 with JMS camel component in my application with
ActiveMQ server (works perfectly).
Now, I would want to use the activemq camel component instead of the JMS
camel component. I configure
Hi
The issue being reported here has nothing to do with CAMEL-5440 as this one
is about:
MockEndpoint.expectedBodiesReceivedInAnyOrder()
And not:
MockEndpoint.expectedHeaderReceived()
I opened a JIRA ticket to fix this:
https://issues.apache.org/jira/browse/CAMEL-5460
Babak
Willem.Jiang wr
34 matches
Mail list logo