Hi,
I don't know if it will help, but I've a sample using http component to
consume an RS endpoint.
https://github.com/OsgiliathEnterprise/net.osgiliath.parent/blob/master/net.osgiliath.samples/net.osgiliath.hello/net.osgiliath.hello.routes/src/main/java/net/osgiliath/hello/routes/HelloRoute.java
It was only for demonstration. As I said above, template was sent to early.
That was the problem
--
View this message in context:
http://camel.465427.n5.nabble.com/whenAnyExchangeReceived-is-never-called-tp5749491p5749606.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I did a little module to handle configadmin admin with CDI (then using it
with a camel-cdi route).
Feel free to use/comment, integrate (if you want, I can try to).
The module:
https://github.com/OsgiliathEnterprise/net.osgiliath.parent/tree/master/net.osgiliath.framework/net.osgiliath.helper
I find a Way for send direct File Opperations to the FTP Endpoint.
from("jetty:http://localhost:/action/delete";)
.process(new Processor() {
@Override
public void process(Exchange exchange) throws Exception {
RemoteFileEndpoint ft
Here's an example of a CallbackHandler that shows how to set a SAML token
on the SAMLCallback Object:
https://git-wip-us.apache.org/repos/asf?p=cxf.git;a=blob_plain;f=systests/ws-security/src/test/java/org/apache/cxf/systest/ws/saml/client/SamlElementCallbackHandler.java;hb=refs/heads/2.7.x-fixes
Hello,
I have an input message which containts id of a FilesObject and urls of
files to be downloaded for this object:
{"filesObjectId":1, "file1":"url", "customFiles": [{"id":1,"name":"Foo"},
{"id":2, "name":"Bar"}]}
The task is to load Files object by id and download only new files if they
not
Hi , I am trying to execute an example for Multiple try catch handler .
Please find below my camel route spring dsl congiguration .
Hi there,
I was building up an camel based application using the quartz2 component,
which is running on a Websphere-cluster using a oracle db as jobstore.
Things are fine as long my application is not stopped on one server, when I
do so, the status of my app is set to "paused" though the other clu
Hi
See the doTry .. doCatch examples
http://camel.apache.org/try-catch-finally.html
your code is a bit wrong.
On Tue, Apr 1, 2014 at 3:05 PM, venkatesh.avula wrote:
> Hi , I am trying to execute an example for Multiple try catch handler .
> Please find below my camel route spring dsl congigurat
- Original Message -
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Sent: Tuesday, April 01, 2014 09:14 AM
To: users@camel.apache.org
Subject: EXT :Re: Multiple Try-catch -Exception-Handling using spring DSL
facing issues
Hi
See the doTry .. doCatch examples
http://camel.apache.org/
BEGIN:VCALENDAR
METHOD:REQUEST
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Eastern Standard Time
BEGIN:STANDARD
DTSTART:16010101T02
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T02000
BEGIN:VCALENDAR
METHOD:CANCEL
PRODID:Microsoft Exchange Server 2010
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Eastern Standard Time
BEGIN:STANDARD
DTSTART:16010101T02
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:16010101T02
I'm having a problem getting the value from the Dest Element and using it in
the recipient list.
I don't get any errors but the message does not show up in the topics.
I'm using an input queue "activemq:queue:queue.ESB.incoming" then it should
route to 2 topics based on the Dest values.
XML Messa
If you are trying to delete a file after consuming from a ftp server using
ftp camel component, then put the option "delete=true" while configuring
the ftp consumer end point.
Make sure the ftp credentials u are using has rights to perform delete
operations .
Cheers
Reji
On 01/04/2014 3:01 pm, "e
Hi,
I will take a look at this issue when I get some time tomorrow.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On April 1, 2014 at 9:09:20 PM, alder (mathias.r
Hi Guru
I doubt if you can send parameters to xsl component.
The body has to contain a XML payload. Or maybe u might need to do it in
custom java code using camel processor .
How about temporarily swapping the parameter value with the exchange body
just before using the xslt component and restore
I think your xpath is wrong, try: /Header1/Dest/text()
The easiest way to diagnose issues like these is split into two steps.
First store the value from the xpath in a header and then pass the header
to recipient list. That will allow you to use tracer to follow the flow.
*Robert Simmons Jr. MSc
Hi Guru,
I don't know if I get the problem right but you can set parameters on xsl
processing through headers.
Sou you can do:
...
...
Then in the xsl file you can do:
And then you can reference it during processing with ${myParamter}. So you do
could extract the interesting thing form th
Greetings:
I have dozens of routes currently in our system and they have one of two
variants of the following code:
.onException(Exception.class).useOriginalMessage().handled(true) //
catch exceptions
.setHeader(Exchange.FAILURE_ROUTE_ID, property(Exchange.FAILURE_ROUTE_ID))
// set route
Hi,
This is how my route looks like
from("direct:start").routeId("start")
.bean(Processor1.class, "prepareRequestMessage")
.to("cxfrs:bean:rsClient?synchronous=true")
.bean(Processor1.class, "processResponseMessage")
prepareRequestMes
Hi,
This is how my route looks like
from("direct:start").routeId("start")
.bean(Processor1.class, "prepareRequestMessage")
.to("cxfrs:bean:rsClient?synchronous=true")
.bean(Processor1.class, "processResponseMessage")
prepareRequ
Thanks for the update.
I'm still have issues updating the header.
http://camel.apache.org/schema/spring";>
/Header1/Dest/text()
I am new to Camel and I am having a hard time understanding how to install
it. I am trying to test on an Ubuntu 13.1 server and I am not sure, do I
have to have Apache installed first, then Camel or what? Is there a web page
that will show me how to install from the beginning?
Thank You for any he
I was able to get this to work using the following:
ActiveMQ XMl:
http://camel.apache.org/schema/spring";>
/FMIMessage/Header1/Dest/text()
Hi
Camel is not a server you install.
Its a Java library (or framework if you will).
So you use some other kind of server to host your applications which
can in turn can use Camel.
For example you can use Apache Tomcat as a web container and deploy
web apps in Tomcat and these web apps can use C
Although I usually favor composition of inheritance I've had pretty good
results with putting code like this in a base class. E.g:
class QoSRouteBuilder extends RouteBuilder {
public void configureQoS() {
// your onException() code ...
}
}
class RouteA extends QoSRouteBuilder {
Hi!
I'm using Camel and my routes are deployed in JBOSS FUSE 6.0.0. I'm using
CXFRS component to receive requests and start my route. When I receive a
request containing a XML in body with about 20k lines, my route is started
without problem. But when I send a request with, for example, 30k lines,
Thanks Guys,
@Pascal, Thats the idea. but my question is I dont want to send any payload
to the exchange. But just the parameter value. I am able to set the
parameter value using the setHeader, but XSLT expects a body too. ( Refer my
route with timer endpoint above ). When I add a dummy body usin
Yes. Otherwise, you should be able to see many examples in the camel home
directory. In that some examples can run standalone without any container.
for an instance, refer this link
https://github.com/apache/camel/tree/master/examples/camel-example-tracer
Eitherways you should have Maven insta
Hello,
I try to use dynamic endpoint uri with recipientList and then combine old
body with the new one, to enrich the message However in
AggregationStrategy.aggregate method the
oldExchange is null.
I suppose recipientList clears the old body. Is there a way to combine two
exchanges after recipie
It looks like your recipientList just has one url, and it makes sense that the
old exchange is null. Please add more endpoint url into the recipientList, you
should be able to see the old exchange which is not null.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemj
Hi Yagyesh,
Were you able to crack this?
Even I have same problem and still not able to get any solution for this.
If you done, can you share the code with me please?
Thanks,
Raghu
--
View this message in context:
http://camel.465427.n5.nabble.com/DataFormat-Versus-TypeConverters-tp5747307p5
Hi
You should then use the content enricher EIP if you want to merge the
current body with the enriched body.
http://camel.apache.org/content-enricher.html
Though the content enricher does not support dynamic uri, as the
recipient list does.
On Tue, Apr 1, 2014 at 10:09 PM, a746076drdrb wrote
33 matches
Mail list logo