I think what you need is a dynamic router
http://camel.apache.org/dynamic-router.html
Did you look at it?
Bilgin
On 26 January 2012 00:00, anand sridhar wrote:
> Hi,
> I have a route with the endpoint being a HTTP URL.
> It so happens that this URL is in a properties file.
>
> Could some one he
Doug,
It doesn't make much sense to me either but I do know that with the setBody
command everything works and without it, it fails. If I run the XSLT
against the same XML (save the XML to a file from the flow after the split)
in netbeans it works fine without the but in camel it fails.
Could th
Chris,
I think the xml processing "fix" you've got there is a bit of red-herring.
The xml processing instruction should only be necessary if you are
converting the output of the xpath to a String prior to the xslt endpoint,
whether directly or indirectly. Without any explicit conversion, the outp
Hi,
I have a route with the endpoint being a HTTP URL.
It so happens that this URL is in a properties file.
Could some one help me to understand how I can dynamically load the end
point name from a property file or in general from header, property etc..?
apparently, none of these work
from("jms
Thanks.
Will check that.
On Wed, Jan 25, 2012 at 2:36 PM, Babak Vahdat
wrote:
> Hi
>
> you can make use of the AdviceWith facility [1] at runtime by each of your
> given test cases to change your routing chain before pushing exchanges into
> it.
>
> [1] http://camel.apache.org/advicewith.html
>
>
Hi
you can make use of the AdviceWith facility [1] at runtime by each of your
given test cases to change your routing chain before pushing exchanges into
it.
[1] http://camel.apache.org/advicewith.html
Babak
--
View this message in context:
http://camel.465427.n5.nabble.com/Unit-testing-with-C
Sorry, 2.8.3.
On Wed, Jan 25, 2012 at 3:29 PM, Babak Vahdat
wrote:
> And what about the Camel version you use?
>
> Babak
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Splitting-on-XML-Documents-tp5431032p5431531.html
> Sent from the Camel - Users mailing list archive
And what about the Camel version you use?
Babak
--
View this message in context:
http://camel.465427.n5.nabble.com/Splitting-on-XML-Documents-tp5431032p5431531.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Yes, my xsl file already has that statement. When it comes out of the XSLT
transform it has the header, it's the split tasks that strips it off.
Chris
On Wed, Jan 25, 2012 at 2:59 PM, Babak Vahdat
wrote:
> Hi,
>
> Have you already specified the output method of your xsl file to be "xml"?
>
> om
Hi,
Have you already specified the output method of your xsl file to be "xml"?
Actually the default value of the omit-xml-declaration attribute is already
"no" but try this if it could help.
And what version of Camel do you use?
Babak
--
View this message in context:
http://camel.465427.n
Hi,
I have a Unit test class to test a route.
My Route is :
from("endpoint1")
.to("endpoint2")
.to("endpoint3")
.to("endpoint4")
;
I want to set up a unit test case that tests parts of the above route.
For eg, from("endpoint2").to("endpoint3"); ,
from("endpoint3").to("endpoint4") can be two dif
Pablo,
my suggestion looks like the one below:
from("direct:start")
.enrich("direct:enrich", myAggregationStrategie)
.to("bean://doWhatEverYouWantWithTheEnrichedXML");
from("direct:enrich")
.to("bean://transformMyXmlIntoAQuery")
.to("jdbc://xxx");
Give it a try...
Best,
Christian
On W
I ran into an issue with a combination of using split and the XSLT
component. I have a XML body that that has a header on it with
multiple elements.* *When I run it through split, it works and I get
multiple messages but the split docs don't have header. When I try
and run that split doc (without
Not that I know of. Its LGPL license [1] prevents such a component to
ever by developed part of the Apache Camel project. If anybody would
implement such a component it could be hosted either at apache-extras or
private projects on github or elsewhere.
Cheers,
Hadrian
[1] http://www.jboss.org
Hi,
you can't put anything other than a javax.jms.Message Object into a JMS
Queue, so that you should convert your received SOAP Payload to that before
producing messages into the Queue.
There're many ways to achieve this some of them are:
- Make use of your own custom TypeConverter [1]
- Use Be
Hi,
I am trying to create a Camel route that will:
1) get JMS messages from a queue (using ActiveMQ),
2) send the message to a third-party SOAP web service,
3) take the response from that web service and,
4) put it onto another JMS queue
In addition, I'd like to populate the JMS correlation ID o
Hi
The aggregator will take in the original exchange and then also the
exchange returned by the resource.
Give it a try.
Taariq
On Wed, Jan 25, 2012 at 4:19 PM, Pablo Venini wrote:
> Christian:
> as I see it, the problem would occur before the aggregation
> strategy; if I use a JDBC
Christian:
as I see it, the problem would occur before the
aggregation strategy; if I use a JDBC endpoint, the query would have to
be placed into the body of the exchange, thus replacing the original
body (the XML document, which I have to use later to merge with the
nodes I crea
18 matches
Mail list logo