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:
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?
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 exists in
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
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 venky.av...@gmail.com wrote:
Hi , I am trying to execute an example for Multiple try catch handler .
Please find below my camel route
- Original Message -
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Sent: Tuesday, April 01, 2014 09:14 AM
To: users@camel.apache.org users@camel.apache.org
Subject: EXT :Re: Multiple Try-catch -Exception-Handling using spring DSL
facing issues
Hi
See the doTry .. doCatch examples
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
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
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
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,
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
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:
from .../
...
setHeader name=myParameter.../setHeader
to uri=xslt:.../
Then in the xsl file you can do:
xsl:param name=myParameter/
And then you can reference it
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)
prepareRequestMessage
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)
Thanks for the update.
I'm still have issues updating the header.
camelContext id=TRFTrackingRoute
xmlns=http://camel.apache.org/schema/spring;
route
from uri=activemq:queue:queue.ESB.incoming/
setHeader
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
I was able to get this to work using the following:
ActiveMQ XMl:
camelContext id=TRFTrackingRoute
xmlns=http://camel.apache.org/schema/spring;
route
from uri=activemq:queue:queue.ESB.incoming/
setHeader headerName=Route1
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
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
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
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
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
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:
29 matches
Mail list logo