Hi Willem.
I'm using camel 2.8.0
My quartz settings are as follow :
and
#
org.quartz.scheduler.instanceName = BabelScheduler
org.quartz.scheduler.instanceId = AUTO
#=
I think the problem is that we don't use static builders but creates our
routes dynamically.
The quartz component fires events correctly :
[DEBUG] simpl.SimpleJobFactory Producing instance of Job
'DEFAULT.quartz-endpoint20',
class=org.apache.camel.component.quartz.StatefulCamelJob
[DEBUG] core.Job
In this little test the camel route (web project) is part of my EAR project.
After a little digging it turned out that it had something to do with
security on Glassfish.
I fixed it (quick and dirty) by annotating the EJB bean with @PermitAll
I then added a user named "camel" and finally added "su
unmarshal(CsvDataFormat) produces a List>,
however, it the CSV file has only one line, it produces List instead
of List>.
We don't know in advance how many lines the CSV file will have,
that could be zero, one, or more than one,
and we should expect to receive always a Li
Hi Willem
I have included part of the Camel XML and my ExceptionResponse class below.
One of the routes works as expected and one of them does not.
Further debuging shows that the one that works gets a
org.apache.camel.component.jms.JmsMessage
And the one that is not working is getting a
org.ap
Hello,
you can use
Camel’s Bindy data format where from type InputStream
you have as result List> during the operation of unmarshall
Object is you business dataObject
--Filippo
2011/9/7 dportabella :
> unmarshal(CsvDataFormat) produces a List>,
> however, it the CSV file has only
Hi,
I have a route that consumes messages from a queue. This route is
transacted because write to a database calling a bean. I have to be sure
that the messages are not consumed in parallel way but one by one on
completion of the route.
I tried using a RoutePolicy, stopping the consumer in onExc
just set the route to use a single consumer thread...like this
from("activemq:queue:inbound?concurrentConsumers=1&maxConcurrentConsumers=1").process(...);
Alberto-2 wrote:
>
> Hi,
>
> I have a route that consumes messages from a queue. This route is
> transacted because write to a database cal
I have a route("parent route") with a global onException() method that contains
an Error Processor(). I can see that this is hit when an error is generated
from within this route.
I have a route("child route") that has no onException(). It is called by the
parent route. It throws an exception (
On Wed, Sep 7, 2011 at 4:57 PM, dportabella wrote:
> unmarshal(CsvDataFormat) produces a List>,
> however, it the CSV file has only one line, it produces List instead
> of List>.
>
> We don't know in advance how many lines the CSV file will have,
> that could be zero, one
Sorry should have mentioned that the parent and child route are in different
RouteBuilder classes - ie. not in the same configure()
Thanks,
Damian.
-Original Message-
From: Damian Harvey [mailto:damian.har...@aon.com]
Sent: Thursday, 8 September 2011 12:04 PM
To: users@camel.apache.org
11 matches
Mail list logo