Once aggregated result(exchange) is commited, the control does not come back
to the aggregation strategy. And also I dont want to handle the exception, I
need it to be progagated back from the aggregator component.
Thanks
Neeraj Mahajan
--
View this message in context:
http://camel.465427.n5.n
On Mon, Aug 20, 2012 at 8:22 AM, Neeraj Mahajan
wrote:
> Thanks again
>
> So is there any way in camel 1.6.2, by which we can tell the aggregator not
> to handle the exception.
>
You can try removing the exception by setting it to null with
setException(null) on the exchange you return from the a
Thanks again
So is there any way in camel 1.6.2, by which we can tell the aggregator not
to handle the exception.
Neeraj Mahajan
--
View this message in context:
http://camel.465427.n5.nabble.com/Aggregator-not-propagating-exception-back-in-camel-version-1-6-2-tp5717629p5717683.html
Sent from
On Mon, Aug 20, 2012 at 5:38 AM, Zemian Deng wrote:
> Hello Camel riders,
>
> I've written an intro for Camel here:
>
> http://saltnlight5.blogspot.com/2012/08/getting-started-with-apache-camel-using.html
>
> I hope this will bring a fresh view of Camel for beginners. Feel free to
> leave comments
On Fri, Aug 17, 2012 at 10:17 PM, Ćukasz Dywicki wrote:
> Hey all,
> Is there a way to intercept custom processor execution?
>
> For example my route is following:
> process(new LoggingProcessor())
> or
> processRef("loggingProcessor")
>
> Also, is it's even possible to use interceptSendToEndpoint
Hi
Take a look at this FAQ
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
On Mon, Aug 20, 2012 at 6:24 AM, raheem wrote:
> Hi,
> I am sure this is possible, but can't figure out how. Here is the scenario:
> 1. I need to read a list of directories from a remote server
> 2. I need
On Mon, Aug 20, 2012 at 7:43 AM, Neeraj Mahajan
wrote:
> Thanks Claus for your quick reply.
> The exception is not coming while doing the aggragation, Actually exception
> is coming once my aggregation is complete and aggregation component sends
> the aggregated response to the *next direct route*
On Sun, Aug 19, 2012 at 6:29 PM, Joe San wrote:
> Adding the Tracer seems to have no effect on the logging.
>
> log4j:WARN No appenders could be found for logger
> (org.apache.camel.impl.DefaultCamelContext).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging
Thanks Claus for your quick reply.
The exception is not coming while doing the aggragation, Actually exception
is coming once my aggregation is complete and aggregation component sends
the aggregated response to the *next direct route*, which actually throws
the exception. Once aggregated mesage is
Hi,
I am sure this is possible, but can't figure out how. Here is the scenario:
1. I need to read a list of directories from a remote server
2. I need to create a jms message and send it to a queue for each directory
3. I need to read the jms messages off the queue and retrieve each
directory t
Just wanted to mention that in the example given in the following page, the
formatter should be a tracer I guess??
http://camel.apache.org/tracer
public void configure() throws Exception {
// add tracer as an interceptor so it will log the exchange
executions at runtime// this
That was a typo in my email but in my original route I have them correctly
configured. Like you mentioned I already tried breaking up the route to
just pick it from Inbox and write it to the Outbox. Surprisingly, it seems
like the file is never picked up.
from("file://Users/jothi/Desktop/inbox?fi
Adding the Tracer seems to have no effect on the logging.
log4j:WARN No appenders could be found for logger
(org.apache.camel.impl.DefaultCamelContext).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
I se
Gnanaguru:
As long as you have appropriate access to your endpoint, this should work.
[file://\\10.200.208.223\\share\\input]
Thanks,
Murari
--
View this message in context:
http://camel.465427.n5.nabble.com/Read-a-file-from-network-location-tp5667150p5717667.html
Sent from the Camel - Users
sorry for misspelling ur name :)
--
View this message in context:
http://camel.465427.n5.nabble.com/Unit-test-failing-onException-clause-tp5717350p5717666.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi Lukasz,
Nice to hear from you :-)
> For example my route is following:
> process(new LoggingProcessor())
> or
> processRef("loggingProcessor")
As far as I know No, as interception for a given processor is not given at
the DSL level. However what you could do is to make use of your own
Inte
Hi
You can read about the producer template here
http://camel.apache.org/producertemplate.html
The idea is similar to the Spring Templates, eg JmsTemplate, JdbcTemplate etc.
To make it easier to use a framework, eg in those from Spring, eg to
work with JMS or JDBC.
The Camel Producer- and Consum
On Sun, Aug 19, 2012 at 12:14 PM, Joe San wrote:
> What is wondering me is that I do not see any exception at all.
> Thread.sleep(1) sleeps for 10 seconds and I think that is ample time to
> copy a simple 4 line xml to the outbox. Is there a way that I could debug a
> bit here to understand wh
On Sun, Aug 19, 2012 at 11:14 AM, Joe San wrote:
> After being unsuccessful at my effort to make the above route to work, I
> created the necessary inbox and outbox folders and my new route looks like
> below:
>
>
> from("file://Users/jothi/Desktop/inbox/filename=my.xml").unmarshal(jaxb).bean(new
What is wondering me is that I do not see any exception at all.
Thread.sleep(1) sleeps for 10 seconds and I think that is ample time to
copy a simple 4 line xml to the outbox. Is there a way that I could debug a
bit here to understand what is happening behind the scenes?
Regards,
Jothi
On Sun
After being unsuccessful at my effort to make the above route to work, I
created the necessary inbox and outbox folders and my new route looks like
below:
from("file://Users/jothi/Desktop/inbox/filename=my.xml").unmarshal(jaxb).bean(new
ProcessorBean()).to("file://Users/jothi/Desktop/inbox/filena
Camel fans,
The Producer and Consumer templates - are they kind of mock interfaces to
create a Producer and a Consumer? What benefits do they serve when
comparing against the different EndPoint Components?
Regards,
Jothi
22 matches
Mail list logo