Hello,
i've found a workaround.
It looks like that the instance of the ExecutorService and Splitter are
stored in the model (RouteDefinition).
So everything works fine if i create a new instance of the
RouteDefinition. But i think it should be fixed for consistency
(Aggregator and AggregatorR
If you provide a custom executor service using executorServiceRef
thats a reference to X.
And Camel just uses X as given by the container (usually Spring bean container).
So if you configure Spring to use prototype scope then Spring will
create a new X. If not it will create a shared X.
In Camel
We love contributions so I suggest that you take a look and try to add
support for JBoss 6 in the camel-jboss project at camel-extra.
You can see about contributing here
http://camel.apache.org/contributing.html
-
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: htt
Its a bit painful to get CXF running in Karaf as you need to mess with the
jre.properties to get it working. Its often easiest to copy the
jre.properties from Apache ServiceMix project and use that.
This is shown how to do in chapter 13 in the Camel in Action book.
-
Claus Ibsen
-
Yes you would need to disable error handling on that sub route.
On Wed, Mar 30, 2011 at 4:03 PM, Charles Moulliard wrote:
> Hi,
>
> To be able to process in a camel parent route an exception throwed in
> a sub route, a noErrorHandler must be defined in the subroute. Is
> there an alternative for
What version of Camel are you using? And can you post your full route? And
have you tried upgrading to a newer release?
-
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in
If the processing of the messages is very slow then you can set a
higher value for the timeout (20 sec by default)
Its the requestTimeout option
http://camel.apache.org/jms
On Wed, Mar 30, 2011 at 11:56 PM, Mike L. wrote:
>>> Attachment #1 (ActiveMQ_DLQ_Msg.png) shows a sample of such a message.
This has been implemented in Camel 2.8. You can now use Future in your client
interfaces, and the invocation will now be asynchronous.
And there is a little example here
https://cwiki.apache.org/confluence/display/CAMEL/Using+CamelProxy
-
Claus Ibsen
-
FuseSource
Email: cib...
Hi,
I finally succeeded using MyBatis in a route with camel 2.7.0 deployed on
Karaf (servicemix in fact).
But what I'd like now is to be able to use 2 different databases in the same
route.
I know that I can define different databases in MyBatis, but is it possible
to configure two instances of th
Hi
Yeah you should be able to declare a 2nd mybatis component and
configure it to use a different mybatis configuration file.
On Thu, Mar 31, 2011 at 1:39 PM, Michael Dewitte
wrote:
> Hi,
>
> I finally succeeded using MyBatis in a route with camel 2.7.0 deployed on
> Karaf (servicemix i
Folks,
Another question along similar lines to the System architecture thread.
I need to provide an asynchronous web service that will accept calls
from a client, persist them somewhere, then asynchronously try to call
a corresponding web service implemented by a third party.
If the call succeeds
I have seen this kind of operation in place before - SMS providers for example
for event driven stuff across the solution boundaries using basically a
callback implementation
I would
* expose an http interface to my solution. I think it would be RESTian for the
usual reasons
* I would use som
Hi James,
Camel can help you with that. Looks like you got it covered. For persistence
you have a few choices, camel-jms, camel-jpa, camel-sql, depending on your
message. But ActiveMQ is probably your best bet. It also scales very well (you
can also cluster it) and is relatively easy to config
I want to create a route that will query a database for new rows
periodically. If a new row is found I would like to put the
information from that row into the route for processing. I have been
looking at the timer and quartz components and can't seem to get
either one to fit quite right with me
Hi,
why don't timer component fit your requirements ?
from("timer://pollTheDatabase?delay=3").to("mbatis:selectAllAccounts").to("activemq:queue:allAccounts");
would execute the query configured un mybatis every 30 seconds... and put
the result on the queue allAccounts...
You can either proc
Hello Mark!
Sample taken from the camel-jdbc wiki page [1]:
from("timer://foo?period=6").setBody(constant("select * from
customer")).to("jdbc:testdb").to("activemq:queue:customers");
[1] http://camel.apache.org/jdbc.html
Cheers,
Christian
To use this component in your route use:
from("mybatis2:selectFoo").to("...");
--
View this message in context:
http://camel.465427.n5.nabble.com/multiple-databases-used-in-mybatis-or-ibatis-in-one-route-tp4273206p4274145.html
Sent from the Camel - Users mailing list archive at Nabble.co
Thnaks to you, Claus and Richard for this fast and extensive help ! I'll
give it a try today !
Thx,
Mike
2011/3/31 Richard Kettelerij
> To use this component in your route use:
>
> from("mybatis2:selectFoo").to("...");
>
>
> --
> View this message in context:
> http://camel.465427.n5.n
18 matches
Mail list logo