No you would have to write code.
On CamelContext there is a method to load routes from XML file, which
you can use to add routes to an existing CamelContext.
See this example
http://camel.apache.org/loading-routes-from-xml-files.html
On Tue, Feb 22, 2011 at 7:29 AM, Jim Talbut wrote:
> Hi,
>
>
Hi,
Is there any way to attach a route (from one spring XML file) to a
camelContext (defined in another at an earlier time)?
I'm thinking, for example, of an OSGi situation where I want to add a
route to a predefined context without writing code.
Is there any fundamental reason why there couldn
Hi
See the messageConverter option
http://camel.apache.org/jms
On Mon, Feb 21, 2011 at 9:17 PM, Patrick Vanbrabant
wrote:
>
> Hi all,
>
> I'm new to Camel and would like to use it to perform content based routing.
> The message are put on an ActiveMQ queue as StreamMessages by a third party
>
Hi all,
I'm new to Camel and would like to use it to perform content based routing.
The message are put on an ActiveMQ queue as StreamMessages by a third party
application (no change possible here).
Doing some research on the web, I found the mapping to/from StreamMessage is
not supported by Cam
I've tried to use the URI format you suggested but the result is the same
using the URI I posted
--
View this message in context:
http://camel.465427.n5.nabble.com/ActiveMQ-connection-with-failover-and-prefetch-tp3387737p3394630.html
Sent from the Camel - Users mailing list archive at Nabble.com
You probably want to use the DSL, i.e. use the splitter in the route instead of
making your producer do something not intended at that level.
Hadrian
On Feb 21, 2011, at 12:32 PM, Roshan A. Punnoose wrote:
> Could I use the splitter in my producer directly? Or the async api directly?
> Or wou
hmm... it seemed that the handled(true) statement caused my problem,
which caused the exception not to be rethrown.
when I set handled to false, it seems to work fine...
On 21.02.2011 18:09, Marco Zapletal wrote:
Dear folks,
My questions relates to a transacted route as it is described in the
Could I use the splitter in my producer directly? Or the async api directly? Or
would it only work if the splitter is defined in the route after the
to("mycomp..") statement?
Roshan
From: Hadrian Zbarcea [hzbar...@gmail.com]
Sent: Monday, February 21, 201
You are probably looking for a splitter or a loop. Most likely
splitter/aggregator.
Hadrian
On Feb 21, 2011, at 12:17 PM, Roshan A. Punnoose wrote:
> Sorry got the terminology incorrect, I meant Producer instead of Consumer.
>
> I want to be able to do something like the following:
>
> from.
Hi Roshan,
Do you mean N internal Camel exchanges, or N replies to the 1 caller request?
The former is relatively easy to do. The second is a bit tricky with of the
request/reply model, but if your protocol is async it could be done. See for
instance the mail or jms components and the role of r
I am using Camel 2.4.0, ActiveMQ 5.3, Java 6u23, Spring 3.0.3. I am having a
problem with XA rollbacks not causing redelivery or message transfer to the
dead letter queue in ActiveMQ when using Camel. We have similar processing
in the same container that is not using Camel, and rollback and tran
Sorry got the terminology incorrect, I meant Producer instead of Consumer.
I want to be able to do something like the following:
from... setBody(query).to("mycomponent..."). get N messages for each row
returned.
Roshan
From: Roshan A. Punnoose [rpunno
This may have already been asked, but I can't seem to find the answer on
Google...
I have created a custom component, with a custom consumer. My consumer takes a
query, and outputs results. I want there to be N exchanges for 1 query, but I
can't seem to find a way to send multiple exchanges aft
Dear folks,
My questions relates to a transacted route as it is described in the
Camel in Action Book in Section 9.4.3 (Returning a custom response) - my
goal is, however, to return a web service fault (instead of regular
response message) _and_ rollback the route.
The situation is as follow
Thank you I'll give it a try and let you know...
without prefetch option it works so I thought it was correct to use that URI
format
--
View this message in context:
http://camel.465427.n5.nabble.com/ActiveMQ-connection-with-failover-and-prefetch-tp3387737p3394410.html
Sent from the Camel - Use
Hi Grant,
Quite a few questions here. Thanks for taking the time and evaluating Apache
Camel.
Yes, Camel is ideal for such scenarios, because:
1. It's specifically designed for that, systems integration.
2. It's simple to use and requires minimal coding
3. It supports out of the box a large num
Hello JacobS,
The solution we put in place is based on the previous comments.
The idea was to split the route into a least two OSGI bundles.
The first bundle gather all endpoint definition to external systems, like
ftp, web service, jms, ... anything really. All the incomming messages
received
Hi
On Mon, Feb 21, 2011 at 7:53 AM, aliablue <962...@gmail.com> wrote:
>
> Hi,
>
> QuartzComponent re-create quartz worker threads during shutdown Camel.
> Here is an stack trace for a thread running in tomcat during shutdown Camel:
>
> Camel ver.2.6.0
>
> Daemon Thread [http-8989-1] (Suspended (b
18 matches
Mail list logo