e file component i.e.
from("file:...*.pdf") and forwarded it to the http endpoint (so that the
body of the message will stay the content of the file) and it worked. Anytime I
try and convert the body or save the body into an exchangeProperty, it breaks.
So, my workaround was to
Hi everyone,
so, i checked some other program I did last year, where i forwarded files to an
HTTP endpoint to ingest them through an API, and I didn't do anything
different than in this example with PDFs (back then was for a RESTful Service
through Camel, tho). I am still quite confuse
ehow I recall working with other filetypes and not
having issues, but that was a while ago. Maybe is it some dependency I am
missing? The serialization exception I am getting might be because Camel can't
map the object to the Object class? I tried using byte[] as well, and also
convertBodyTo() but it d
I don’t see why that exception would be thrown, from the example you
provided. But the example you provided is just from the docs. So, if you
could share more of your actual route/processor, it would be easier to help.
On Nov 25, 2024 at 2:05:38 PM, Penagos Jaime <
jaime.pena...@ub.uni-muenchen.d
Hey everyone,
I've been working with the Apache Camel PDF Component and my idea is to forward
the content to another endpoint, that it is supposed to send it to another API
through the HTTP component.
So, I've been trying to use a File component that sends the PDFs to the other
direct: route,
Thanks for your help.
Regards,
Shiva
-Original Message-
From: Zoran Regvart
Sent: Tuesday, December 8, 2020 5:09 PM
To: users@camel.apache.org
Subject: [EXTERNAL] Re: basic Auth options for camel netty http endpoint
producer
*EXTERNAL SENDER*
Hi Shiva,
you should be able to pass the
Hi Shiva,
you should be able to pass the `Authorization` HTTP header as the
same-named Camel Message header.
On Tue, Dec 8, 2020 at 12:01 PM Gv, Shivakumar wrote:
>
> Hi Team,
>
> We wanted to used camel netty http client instead of camel - http . But we
> are unable to set basic auth credentia
Hi Team,
We wanted to used camel netty http client instead of camel - http . But we are
unable to set basic auth credentials on netty endpoint like in camel-http.
Can you please let me know how we can set user, password and AuthMode in netty
http.
Camel-version= 3.4.0
Thanks,
Shiva
me other components like the salesforce one).
>
> Regards
> JB
>
> > Le 4 déc. 2020 à 22:00, Alex Luo a écrit :
> >
> > Hi Dear,
> >
> > I am writing a Camel application which is using Camel component to expose
> > Http endpoint (Http Consumer), and connect t
ttp is
> based on netty and therefore high performance. In camel 3 there are
> also http clients based on vertx which has very high performance.
>
>
> > Regards
> > JB
> >
> > > Le 4 déc. 2020 à 22:00, Alex Luo a écrit :
> > >
> > > Hi Dear,
PM Alex Luo wrote:
>
> Hi Dear,
>
> I am writing a Camel application which is using a Camel component to expose
> Http endpoint (Http Consumer), and connect to a third party Web Server
> (Http Producer).
>
> 1) From my readings I have this list of Camel components I can use
t; > Le 4 déc. 2020 à 22:00, Alex Luo a écrit :
> >
> > Hi Dear,
> >
> > I am writing a Camel application which is using Camel component to expose
> > Http endpoint (Http Consumer), and connect to third party Web Server (Http
> > Producer).
> >
> &g
Hi Dear,
>
> I am writing a Camel application which is using Camel component to expose
> Http endpoint (Http Consumer), and connect to third party Web Server (Http
> Producer).
>
> 1) From my readings I have this list of Camel components I can use as Http
> Consumer. They all o
Hi Dear,
I am writing a Camel application which is using Camel component to expose
Http endpoint (Http Consumer), and connect to third party Web Server (Http
Producer).
1) From my readings I have this list of Camel components I can use as Http
Consumer. They all offer the same functionalities
Hi Dear,
I am writing a Camel application which is using a Camel component to expose
Http endpoint (Http Consumer), and connect to a third party Web Server
(Http Producer).
1) From my readings I have this list of Camel components I can use as Http
Consumer. They all offer the same
at 4:25 PM, John Smith
wrote:
> Hello,
>
> I have a netty4-http endpoint that I can send XML to with
> Content-Type=application/xml from a SoapUI REST project.
>
> I'd also like to send XML with attachments as a multipart/form or
> multipart/mixed content type.
>
&g
Hello,
I have a netty4-http endpoint that I can send XML to with
Content-Type=application/xml from a SoapUI REST project.
I'd also like to send XML with attachments as a multipart/form or
multipart/mixed content type.
However when I switch the Content-Type to multipart/form or multipart/
Add a name parameter to uri, eg
?name=foo
What could I be missing, or what else should I try?
--
View this message in context:
http://camel.465427.n5.nabble.com/Attempting-example-for-HTTP-endpoint-using-tomcat-netbeans-spring-tp5801715.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ken","ABCD");
> template.setDefaultEndpointUri("bean:testPreProcessor");
> template.sendBodyAndHeader("direct:test","Hello World",header);
> assertMockEndpointsSatisfied();
>
> }
>
> }
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/mock-http-endpoint-and-retrieving-value-form-properties-file-tp5782604p5782727.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
eProcessor");
template.sendBodyAndHeader("direct:test","Hello World",header);
assertMockEndpointsSatisfied();
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/mock-http-endpoint-and-retrieving-value-form-properties-file-tp5782604p5782727.html
Sent from the Camel - Users mailing list archive at Nabble.com.
pak kumar wrote:
>
> Hi Quinn ,
> I got it how to get the value from properties file. But how can i test the
> http endpoint here.and that to based on different http response status? if
> the status will return 404 then i will throw custom exception. how can i
>
Hi Quinn ,
I got it how to get the value from properties file. But how can i test the
http endpoint here.and that to based on different http response status? if
the status will return 404 then i will throw custom exception. how can i
test these scenarios?
--
View this message in context:
http
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/mock-http-endpoint-and-retrieving-value-form-properties-file-tp5782604.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
above route ? When i am extending my test class from
CamelSpringTestSupport then i am not able to fetch the {{testUrl}} value
from the properties file and then how can emulate the behavior of http
service.
--
View this message in context:
http://camel.465427.n5.nabble.com/mock-http-endpoint-and
n context:
> http://camel.465427.n5.nabble.com/Create-to-http-endpoint-with-arguments-with-bean-tp5770857p5770876.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Work-around:
(works, but why use bean:xxx at all then? could then just replace it with a
processor ;-)
--
View this message in context:
http://camel.465427.n5.nabble.com/Create-to-http-endpoint-with-arguments-with-bean-tp5770857p5770876.html
Sent from the Camel - Users mailing list archive
Hi,
I'm 'calculating' a dynamic http uri / arguments with a bean as below. But,
the http endpoint does not seem to be called (i do not see the Http headers;
i *do* see the getFxAllUrl being called)
When replacing the bean:fxAllHttpUrlBuilder with https:jadajada it is called
again
st service accept *text/html*
--
View this message in context:
http://camel.465427.n5.nabble.com/Request-body-is-empty-in-HTTP-Endpoint-tp5766738p5766742.html
Sent from the Camel - Users mailing list archive at Nabble.com.
:
http://camel.465427.n5.nabble.com/Request-body-is-empty-in-HTTP-Endpoint-tp5766738.html
Sent from the Camel - Users mailing list archive at Nabble.com.
:268)
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
... 37 more
Is there is any way to skip the certificate validation?
--
View this message in context:
http://camel.465427.n5.nabble.com/http-endpoint-throwing-error-PKIX-path-building-failed-sun-s
org/2001/XMLSchema-instance"/>
Basically i do not want to use a cxf endpoint for soap requests. I want http
endpoint itself. Also based on soap request my operation code should change
dynamically.
Please suggest.
Thanks
--
View this message in context:
http://camel.465427.
itation is that you cannot determine the operation name as you are
not using the meta data.
regards, aki
2014-04-24 11:49 GMT+02:00 komal bhola :
> Hi ,
>
> Currently I am using cxf endpoint to listen to soap requests. Actually I
> want to use http endpoint only to listen to soap reque
n to soap requests. Actually I
> want to use http endpoint only to listen to soap requests. I need to provide
> different services on only 1 URL. So I want soap method name to be populated
> in camel headers, based on which I can call different different services.
> Please suggest a w
Hi ,
Currently I am using cxf endpoint to listen to soap requests. Actually I
want to use http endpoint only to listen to soap requests. I need to provide
different services on only 1 URL. So I want soap method name to be populated
in camel headers, based on which I can call different different
Yeah could be, see this FAQ
http://camel.apache.org/why-is-my-message-body-empty.html
On Thu, Nov 14, 2013 at 12:27 PM, vinod.pah...@gmail.com
wrote:
> I have configured a route using Spring DSL. It take input from a direct
> endpoint to HTTP endpoint. In that case it is working fine.
>
I have configured a route using Spring DSL. It take input from a direct
endpoint to HTTP endpoint. In that case it is working fine.
But when I pipe result the from http endpoint to a filter processor using
xpath it does not return any value back.
I debug the code and I got the exchange that is
ct:start","");
context.setTracing(false);
Thread.sleep(9);
// stop the CamelContext
context.stop();
}
}
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-endpoint-tp5738701p5738805.html
Sent from the Camel - Users mailing list archive at Nabble.com.
products(SYN)))"))
>.to("file:data");*
>
> That the authentication is occurring but the query parameters are not being
> passed in. What am I doing wrong?
>
> Any help would be greatly appreciated
>
> Mike
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/HTTP-endpoint-tp5738701.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
ta");*
That the authentication is occurring but the query parameters are not being
passed in. What am I doing wrong?
Any help would be greatly appreciated
Mike
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-endpoint-tp5738701.html
Sent from the Camel - Users mailing list archive at Nabble.com.
ponents of Camel often has a header that can control to
use GET / POST / etc.
So for that you need to send both body + headers with the producer template.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/HTTP-Endpoint-construction-in-CamelSpringTest-tp5
pport, just go straight with
HttpUnit or HttpClient to do this kind of test. Besides, I also found it's
hard to specify request method "GET/POST/PUT/DELETE" with ProducerTemplate.
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Endpoint-constructio
my environment as plug-in,
> so I don't want to do that. Another reason is that all tests are built
> around Java DSL based routes, no Spring XML DSL route tests. I don't want to
> dig that deep.
> Thanks.
>
>
>
> --
> View this message in context:
> ht
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Endpoint-construction-in-CamelSpringTest-tp5726090p5726165.html
Sent from the Camel - Users mailing list archive at Nabble.com.
it used "file://" which is
> working, but there are no samples for "servlet:///" which is most commonly
> used.
>
> What's is correct way for the endpoint? How to test "servlet:///" or "http:"
> component without having to start routes
ng to start routes in a web server?
I am using camel-core 2.9.1, camel-test 2.9.1.
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/HTTP-Endpoint-construction-in-CamelSpringTest-tp5726090.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I am submitting messages to an HTTP web service through camel. For some
reason, when I am attempting to call an xpath expression on the result I am
getting a org.xml.sax.SAXParseException: Premature end of file.
Looking at the body of the SOAP XML that is being returned by the HTTP
endpoint, I
illo
On Sun, Dec 23, 2012 at 1:38 PM, Meriem wrote:
> Hi,
> It was effectively the bad version of camel-http.jar, thanks for the reply.
> I switched to camel-http-2.9.0.jar and it worked.
> But it continue to pull data from the http endpoint (www.google.com)
> endlessly, so with
On Sun, Dec 23, 2012 at 4:38 PM, Meriem wrote:
> Hi,
> It was effectively the bad version of camel-http.jar, thanks for the reply.
> I switched to camel-http-2.9.0.jar and it worked.
> But it continue to pull data from the http endpoint (www.google.com)
> endlessly, so with this
You can do some control on the how the http endpoint sending the pulling
request[1]
If you just want to pull the data only once, you can consider to define the
route like this
from("direct:start").to("http://google.com";).to("file:target/message");
Once you send t
Hi,
It was effectively the bad version of camel-http.jar, thanks for the reply.
I switched to camel-http-2.9.0.jar and it worked.
But it continue to pull data from the http endpoint (www.google.com)
endlessly, so with this code :
from("http://google.com";).to("file:target/messages&
el with JSP/Tomcat
> application", I replaced the servlet endpoint by the http endpoint to pull
> the request from google as you told me Jiang, but it did not work. This is
> my code:
> from("http://www.google.com";).process(new Processor() {
> public void process(Exchange
hi,
to continue with the previous topic "Problem Apache Camel with JSP/Tomcat
application", I replaced the servlet endpoint by the http endpoint to pull
the request from google as you told me Jiang, but it did not work. This is
my code:
from("http://www.google.com";).p
.
--
View this message in context:
http://camel.465427.n5.nabble.com/apache-Camel-cxf-proxy-doesnt-work-with-http-endpoint-tp5723753p5723781.html
Sent from the Camel - Users mailing list archive at Nabble.com.
hy the simple camel-cxf proxy with http webservice didnt work
> and the second one works (it should and it does :P).Is the code i have ok.It
> doesnt seem right to me.I am pretty sure some exchange property is set wrong
> or content sent to real webservice is wrong.The content got from
rk
> and the second one works (it should and it does :P).Is the code i have ok.It
> doesnt seem right to me.I am pretty sure some exchange property is set wrong
> or content sent to real webservice is wrong.The content got from the proxy
> is used to make the Httppost call in second route.so the content from proxy
> cannot be wrong.when it is got from exchange and send to real webservice
> something goes wrong. Can anybody throw some light on it.
>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/apache-Camel-cxf-proxy-doesnt-work-with-http-endpoint-tp5723753.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
s message in context:
http://camel.465427.n5.nabble.com/apache-Camel-cxf-proxy-doesnt-work-with-http-endpoint-tp5723753.html
Sent from the Camel - Users mailing list archive at Nabble.com.
il.jtp?type=node&node=5715793&i=0>>
> wrote:
>
> > I'm using the Java DSL to do something akin to the following:
> >
> > from("xxx")
> > .setBody("Hi")
> > .recipientList(method(MyBean.class, "myMethod"))
ing:
>
> from("xxx")
> .setBody("Hi")
> .recipientList(method(MyBean.class, "myMethod"))
> .end()
>
> MyBean's myMethod() method is intended to calculate the HTTP endpoint to
> call:
>
> public String myMethod(
> @Bo
I'm using the Java DSL to do something akin to the following:
from("xxx")
.setBody("Hi")
.recipientList(method(MyBean.class, "myMethod"))
.end()
MyBean's myMethod() method is intended to calculate the HTTP endpoint to
call:
public St
Done https://issues.apache.org/jira/browse/CAMEL-5283
Thanks!
-Nestor
--
View this message in context:
http://camel.465427.n5.nabble.com/JUnit-Test-not-running-when-using-http-endpoint-tp5711142p5711439.html
Sent from the Camel - Users mailing list archive at Nabble.com.
tp://camel.465427.n5.nabble.com/JUnit-Test-not-running-when-using-http-endpoint-tp5711142p5711368.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
--
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
sure fails saying "Connection refused"
Best,
-Nestor
--
View this message in context:
http://camel.465427.n5.nabble.com/JUnit-Test-not-running-when-using-http-endpoint-tp5711142p5711368.html
Sent from the Camel - Users mailing list archive at Nabble.com.
someAction";);
Thanks!
-Nestor
--
View this message in context:
http://camel.465427.n5.nabble.com/JUnit-Test-not-running-when-using-http-endpoint-tp5711142.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Willem
--
CamelOne 201
response and all is
fine.
The methods outlined above both work.
Cheers,
Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Producer-Template-to-Invoke-HTTP-Endpoint-Request-Reply-tp5684220p5684796.html
Sent from the Camel - Users mailing list archive at Nabble.com.
.getOut().getBody(String.class), but it is null.
Any ideas?
--
View this message in context:
http://camel.465427.n5.nabble.com/Producer-Template-to-Invoke-HTTP-Endpoint-Request-Reply-tp5684220p5684682.html
Sent from the Camel - Users mailing list archive at Nabble.com.
setStreamCaching(true);
but that has no affect.
I know the service is getting invoked and is returning a proper return
value. I just can't get at it with the producer template.
Any idea how I can use the producer template to do a request/reply against
an HTTP endpoint and get the respon
OK. I had http endpoint as input to my route which I think caused it
to poll indefinitely.
Using a timer makes it more sane.
http://apps.dhis2.org/dev/api/metaData.xml?httpClient.authenticationPreemptive=true&authMethod=Basic&authUsername=admin&authPassword=district"/>
I have a route which gets data using an http endpoint. I am trying to
sensibly handle errors on the route. Because its a remote server
there are many things which could go wrong in the network, so I
configured an errorhandler with maximumRedeliveries="5".
My problem is that if I t
thank, but i couldn't make what you said.
i solve my question by set CamelHttpQuery header
earlier I tried to set HTTP_QUERY, but it didn't work.
--
View this message in context:
http://camel.465427.n5.nabble.com/simple-language-in-http-endpoint-tp5564380p5564955.html
Sent from
any suggestions?
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/simple-language-in-http-endpoint-tp5564380p5564380.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.
java.util.TimerThread.run(Timer.java:462)[:1.6.0_30]
Then i try apache-servicemix-4.4.1-fuse-03-06, but i get same error
--
View this message in context:
http://camel.465427.n5.nabble.com/simple-language-in-http-endpoint-tp5564380p5564393.html
Sent from the Camel - Users mailing list archive at Nabble.com.
how can i do something like this
https://somehost/index.php?$header.params222 />
i try many combinations, but i not found worked version.
any suggestions?
--
View this message in context:
http://camel.465427.n5.nabble.com/simple-language-in-http-endpoint-tp5564380p5564380.html
Sent from
On Wed, Feb 1, 2012 at 8:34 PM, anand sridhar wrote:
> The Property Place holder did the trick for me.
> However, I was hoping if I could extend it to read properties from the
> camel exchange .
> Any pointers to examples would be welcome.
>
If you want a dynamic to in Camel. Then take a look at
The Property Place holder did the trick for me.
However, I was hoping if I could extend it to read properties from the
camel exchange .
Any pointers to examples would be welcome.
Thanks,
Anand
On Thu, Jan 26, 2012 at 12:24 AM, Claus Ibsen wrote:
> Hi
>
> See this FAQ
> http://camel.apache.org/h
Hi
See this FAQ
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
Or you can define the endpoint using property placeholders
http://camel.apache.org/using-propertyplaceholder.html
http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html
On Thu, Jan 26, 2012
Hi
what you need is the properties component. Look here:
http://camel.apache.org/properties.html
then you can refer your endpoint like this
.to("{{myHttpEndpoint}}")
where you have that defined in your properties like this:
myHttpEndpoint=http://servername.com/test
regards, Marco
Am 26.01
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
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
t;
> On Fri, Nov 11, 2011 at 12:38 PM, simon godden wrote:
> > I have had a context happily set up using XA transactions for several
> days.
> >
> > As long as I am triggering it from a "direct:start" producer, then
> > everything is fine - my XA trans
gering it from a "direct:start" producer, then
> everything is fine - my XA transactions work.
>
> As soon as I change it to trigger from the jetty http endpoint
> producer, I get an error when I do my first queue write: Session's
> XAResource has not been enlisted in a
I have had a context happily set up using XA transactions for several days.
As long as I am triggering it from a "direct:start" producer, then
everything is fine - my XA transactions work.
As soon as I change it to trigger from the jetty http endpoint
producer, I get an error when I d
We use cron, that's why we won't have this problem:
But I was wondering if not using cron how can we use dynamic uri if it is
inside http://camel.465427.n5.nabble.com/date-functions-URL-params-for-http-endpoint-tp4442873p4445925
dynamic router.
This will work:
http://google.com"/>
--
View this message in context:
http://camel.465427.n5.nabble.com/date-functions-URL-params-for-http-endpoint-tp4442873p4445883.html
Sent from the Camel - Users mailing list archive at Nabble.com.
---
> From: "Claus Ibsen"
> To: users@camel.apache.org
> Sent: Tuesday, May 31, 2011 10:25:40 PM GMT -08:00 US/Canada Pacific
> Subject: Re: date functions/URL params for http endpoint
>
> Hi
>
> See this FAQ about dynamic To in Camel
> http://camel.apache.org/how-do
ubject: Re: date functions/URL params for http endpoint
Hi
See this FAQ about dynamic To in Camel
http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html
You need to use the recipient list EIP pattern.
And for computing the URI, you can use a plain Java bean for that.
Sometimes that easier.
Esp
uot;Fernando Ribeiro"
> To: users@camel.apache.org
> Sent: Tuesday, May 31, 2011 11:25:23 AM GMT -08:00 US/Canada Pacific
> Subject: Re: date functions/URL params for http endpoint
>
> Bharat,
>
> You can create a property (with get/set) methods in your route builder and
&g
Pacific
Subject: Re: date functions/URL params for http endpoint
You can add an ID to your route and start it and stop it using the ID.
Your route would be
from(endpoint)
.routeID(idString)
.process(whatever);
You can then use camelcontext.stopRoute(idString) to stop the route
and camelcontext
ers@camel.apache.org
> Sent: Tuesday, May 31, 2011 12:57:47 PM GMT -08:00 US/Canada Pacific
> Subject: Re: date functions/URL params for http endpoint
>
> Donald raised an important point, need to make sure the start date is
> computed dynamically (using the Simple EL does the trick). Th
>>
>> - Original Message -
>> From: "Donald Whytock"
>> To: users@camel.apache.org
>> Sent: Tuesday, May 31, 2011 12:49:00 PM GMT -08:00 US/Canada Pacific
>> Subject: Re: date functions/URL params for http endpoint
>>
>> toF isn'
ytock"
> To: users@camel.apache.org
> Sent: Tuesday, May 31, 2011 12:49:00 PM GMT -08:00 US/Canada Pacific
> Subject: Re: date functions/URL params for http endpoint
>
> toF isn't runtime-dynamic, right? It's gonna take the startdate and
> enddate when the route
;
> To: users@camel.apache.org
> Sent: Tuesday, May 31, 2011 12:49:00 PM GMT -08:00 US/Canada Pacific
> Subject: Re: date functions/URL params for http endpoint
>
> toF isn't runtime-dynamic, right? It's gonna take the startdate and
> enddate when the route is built and mak
US/Canada Pacific
Subject: Re: date functions/URL params for http endpoint
toF isn't runtime-dynamic, right? It's gonna take the startdate and
enddate when the route is built and make a static endpoint?
If you need the endpoint to change at runtime, you'll need to use some
sort of
va SomeProcessor.class which would fill in startDate and
>> endDate.
>>
>> Trying to figure out what a good practice is.
>>
>> Thanks
>>
>>
>> - Original Message -
>> From: "Fernando Ribeiro"
>> To: users@camel.ap
actice is.
>
> Thanks
>
>
> - Original Message -
> From: "Fernando Ribeiro"
> To: users@camel.apache.org
> Sent: Tuesday, May 31, 2011 11:25:23 AM GMT -08:00 US/Canada Pacific
> Subject: Re: date functions/URL params for http endpoint
>
> Bharat,
>
uld fill in startDate and
endDate.
Trying to figure out what a good practice is.
Thanks
- Original Message -
From: "Fernando Ribeiro"
To: users@camel.apache.org
Sent: Tuesday, May 31, 2011 11:25:23 AM GMT -08:00 US/Canada Pacific
Subject: Re: date functions/URL params for http
tribute the information contained
> in this e-mail and any attached files with the permission of the sender.”
>
> - Original Message -
> From: "Fernando Ribeiro"
> To: users@camel.apache.org
> Sent: Tuesday, May 31, 2011 11:18:07 AM GMT -08:00 US/Canada Pacific
&
ctions/URL params for http endpoint
You mean you need to be able to get the current date (for startDate) and a
date in a configuration (endDate) in your route, right?
On Tue, May 31, 2011 at 3:13 PM, Bharat Goyal wrote:
> Hello,
> We have the requirement to pull data from a http URL on s
the month.
>
> Requirements:
> 1. There are 2 URL params in the http call, startDate and endDate that
> takes date expr in dd/MMM/ (e.g. 05/JAN/2011) and are used to fetch data
> between those 2 dates.
> 2. Our camel-cron/quartz setup will need to run on specific dates, and then
> route
-cron/quartz setup will need to run on specific dates, and then
route to the http endpoint that can retrieve this data.
3. the startDate has to be the current date (whenever the quartz job ran), but
the endDate needs to be startDate - {some configured value}. How do we do this
via spring/camel
-cron/quartz setup will need to run on specific dates, and then
route to the http endpoint that can retrieve this data.
3. the startDate has to be the current date (whenever the quartz job ran), but
the endDate needs to be startDate - {some configured value}. How do we do this
via spring/camel config
1 - 100 of 152 matches
Mail list logo