last couple of year now.
>
> A recent requirement made me to investigate content based routing in Camel.
> I worked out how I can do it based on header information with
> 'simple'. That is working OK.
> This is working fine in XML DSL without any further sett
very simple Camel routes with a selector on message type
defined in camel.xml which is then referenced from the activemq.xml.
They are working perfectly for the last couple of year now.
A recent requirement made me to investigate content based routing in Camel.
I worked out how I can do it based
Subject: [External] Re: Content Based Routing Feasibility Q
I would suggest you to see camel-cxf examples.
Maybe i got wrong but what you needed is like a web service's proxy. You
may also take a look at http component or maybe mina component.
On Thu, 31 Aug 2017 at 11:26, MLVJ wrote:
>
I would suggest you to see camel-cxf examples.
Maybe i got wrong but what you needed is like a web service's proxy. You
may also take a look at http component or maybe mina component.
On Thu, 31 Aug 2017 at 11:26, MLVJ wrote:
> I have a problem, and I think that Camel can solve it, but I would
I have a problem, and I think that Camel can solve it, but I would like to be
sure!
What I want to do is to write a generic handler, to catch web service requests,
look in the header, at the "USER", then identify a preferred destination for
that user according to a regularly-refreshed cache, and
Hi
I have a camel REST endpoint which receives a request of the form:-
{"method" : "getHello"}
Based on the value in the method field in the request body I want to route
the request to different routes. So I tried something like this below:-
from("jetty:http://localhost:/hello";).unmarshal(
getting the xml message from the custom in
process method and setting it in exchange.getIn().setBody(etlmsXml).
I have also added convertBodyTo
from(endpointuri)
.process(new etlmsXmlProcess)
.convertBodyTo(String.class,"UTF-8")
Now for this message, I am trying to use C
l.apache.org/dynamic-router.html
>
>
> -Original Message-
> From: Muhzin [mailto:rmuh...@gmail.com]
> Sent: Monday, January 27, 2014 2:51 PM
> To: users@camel.apache.org
> Subject: Content based routing
>
> Hi all,
>
> How can route my message which is a poj
@camel.apache.org
Subject: Content based routing
Hi all,
How can route my message which is a pojo based on a specific attribute
value of it?
For eg ,
suppose that I have a have class A which has an attribute 'action' , I need
to route my message based on the value of 'action' .
Hi all,
How can route my message which is a pojo based on a specific attribute
value of it?
For eg ,
suppose that I have a have class A which has an attribute 'action' , I need
to route my message based on the value of 'action' .
--
BR
Muhsin
He would need to use a Predicate for CBR. Either way, it'd be easy to
do, as you pointed out, since it's just a library. :)
Or, if the destination can be "calculated" based on something in your
JSON (using an expression), you could do something like this:
from(...).deserialize(...).recipientList
If you're set on JsonPath, you can do so in a POJO or processor as
it's just a library:
http://code.google.com/p/json-path/
On Mon, Dec 9, 2013 at 1:57 PM, Henryk Konsek wrote:
> Hi guys,
>
>> Perhaps you can deserialize the object(s) first before doing CBR
>> (using a simple expression)?
>
> Th
Hi guys,
> Perhaps you can deserialize the object(s) first before doing CBR
> (using a simple expression)?
This is very good suggestion, James. To make it a little more concrete:
from(...).
unmarshal().json(JsonLibrary.Gson, Map.class).
choice().
when().simple("${body[invoices][lates
:43 AM, madusanka wrote:
> I have to detect what type they are first and then route to the appropriate
> service provider. I was wondering if JSONPath is supported in early
> versions
> of Camel ?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.
I have to detect what type they are first and then route to the appropriate
service provider. I was wondering if JSONPath is supported in early versions
of Camel ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Content-Based-Routing-with-Camel-tp5744495p5744508.html
Sent
t will be available as of camel 2.13. Is there
> a way to perform CBR for JSON payload in other versions of Apache Camel?
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Content-Based-Routing-with-Camel-tp5744495.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I know that JSONPath component will be available as of camel 2.13. Is there
a way to perform CBR for JSON payload in other versions of Apache Camel?
--
View this message in context:
http://camel.465427.n5.nabble.com/Content-Based-Routing-with-Camel-tp5744495.html
Sent from the Camel
Hi
The reply queue is NOT exclusive. You use it 2 times for route1 and
route2 in the content based router.
On Thu, Jun 20, 2013 at 12:26 PM, Tomas Potocky wrote:
> Hi folks,
> I've found some strange behaviour using content based routing in camel. Can
> someone tell me wha
Hi folks,
I've found some strange behaviour using content based routing in camel. Can
someone tell me what's wrong with following setup and why I get
PersistentQueueReplyManager:86 - Reply received for unknown correlationID
for route2 when using Exclusive queue for replies? If I use
(I took the liberty to change the Subject since the message history has both my
FTP issue and Prabu's routing issue - my fault, sorry)
Prabu, I strongly recommend getting and reading Claus's book "Camel In Action",
like Thomas Walzer suggested upon your first post. You also should be
familiar wi
an run Camel applications any number of ways (don't need to use
ServiceMix)...there is is a great overview of the options here:
http://download.progress.com/5331/open/adobe/prc/psc/091610_apache_camel_deployment/index.htm
Padmalaya wrote
> I need help in implementing content based
On Fri, Mar 18, 2011 at 11:25 AM, Willem Jiang wrote:
> Hi
>
> I don't think current camel spring configuration support the xpath with the
> name space.
>
Yes it does. You can use namespaces with xpath in XML DSL. See the
xpath wiki page
http://camel.apache.org/xpath
In fact you must use namespa
Hi
I don't think current camel spring configuration support the xpath with
the name space.
You can take a look at Java DSL one from here[1]
[1]https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/builder/xml/XPathNestedNamespaceTest.java
Willem
On 3/17/11 1
subsidiary)
http://fusesource.com
Blog: http://opensourceknowledge.blogspot.com
-
--
View this message in context:
http://camel.465427.n5.nabble.com/Handling-namespaces-with-content-based-routing-using-camel-activemq-tp3788073p3892829.html
Sent
Hi, first post here!
We have an instance of apache-activemq running which includes camel.
We are sending some messages to a queue called 'in' that look like this:
http://www.blah/blah"; name="submit" >
...
and
http://www.blah/blah"; name="status" >
...
We need to route the messages ba
I see that the latest MEAP of Camel In Action answers this question in
the first page of Appendix A.
On Tue, Aug 10, 2010 at 11:56 AM, Claus Ibsen wrote:
> On Tue, Aug 10, 2010 at 5:42 PM, Mark Webb wrote:
>> I am setting up a route in XML and want to send messages to a
>> destination based on a
On Tue, Aug 10, 2010 at 5:42 PM, Mark Webb wrote:
> I am setting up a route in XML and want to send messages to a
> destination based on a field in the header. I have the following:
>
>
>
>
> '${header.dest}' = 'stuff'
>
I am setting up a route in XML and want to send messages to a
destination based on a field in the header. I have the following:
'${header.dest}' = 'stuff'
pache.org/http
And see some of the examples and tutorials on using Camel
http://camel.apache.org/examples.html
http://camel.apache.org/tutorials.html
> THanks
>
> --
> View this message in context:
> http://old.nabble.com/New-to-content-based-routing-tp26135880p26135880.html
>
Is there a sample pgm that would help me to get data from the client and
route it to two servlets that are deployed in tomcat.
THanks
--
View this message in context:
http://old.nabble.com/New-to-content-based-routing-tp26135880p26135880.html
Sent from the Camel - Users mailing list archive
30 matches
Mail list logo