I got my own answer:
.bean(FileNameRetriever.class)
.split(body())
.pollEnrich("file://"+ getFolderLocation() +
"/?fileName=${body.getFileName}&noop=true")
.to("file:///path/directory/?fileName=${body.getFileName}");
But, I wonder, whether anybody even checked my
That did the trick.
Thanks loads.
--
View this message in context:
http://camel.465427.n5.nabble.com/org-apache-camel-FailedToCreateRouteException-Failed-to-create-route-with-SNMP-component-tp5768341p5770704.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I have separate encapsulated logic and information in db to decide the
filenames to be copied. And, also I need this to start at a certain time
triggered by a scheduler, and start polling.
So, far I have achieved only first part of this, using the code below:
I have this:
from("direct:start")
Thanks again. That made the code a bit cleaner. It took a minute to figure
out the exact syntax but that makes the code now:
${body.mypropertytovalidate} in
'STRING1,STRING2,STRING3'
--
View this message in context:
http://camel.465427.n5.nabble.com/Define-an-array-in-simple-tp5770637p5770701
Hi
I think there is an IN function in simple also that ought to support this
check too
Den torsdag den 13. august 2015 skrev ablevine1 :
> Thanks for getting back to me about this. Too bad that array creation is
> not
> supported. What I was trying to do with my bean method was to provide
> v
Thanks for getting back to me about this. Too bad that array creation is not
supported. What I was trying to do with my bean method was to provide
validation to check whether or not one of the properties of my object was
equal to one of the values in the array. I just found an alternate solutio
Instead of bean using method:
method(smlSkipMessageHandler, "skipHandler(${body},${headers})")
-Original Message-
From: suneshkumar [mailto:suneshku...@gmail.com]
Sent: Thursday, August 13, 2015 6:06 AM
To: users@camel.apache.org
Subject: bean invocation is deprecated in 2.15
Hi Guys
I
Hi
Did you make it work ? What can be different between using HTTP and
HTTP4 components as far the interaction with the CXF endpoint is concerned ?
Cheers, Sergey
Perhaps HTTP4 component
On 30/07/15 19:16, Tao Yang wrote:
hey:
We want to use http4 instead of http. No other change, then I got
Hi Pontus,
Thank you very much for your reply.Yesterday I found this parameter after post
the question.
Em Quinta-feira, 13 de Agosto de 2015 5:36, Pontus Ullgren
escreveu:
Hi,
Since the FTP component inherits the options from the File component you can
use the maxMessagesPerPoll
Hi Akram,
feel free to rise a JIRA ticket (https://issues.apache.org/jira/browse/CAMEL)
And create an PR to github (https://github.com/apache/camel)
Camel commiters will analyse it, and accept it if it is confirmed issue.
thx for your help,
Greg AUTRIC
JBoss Middleware C
Sorry
it is parenthesis
from("jetty:http://localhost:8081/myapp/myservice?param1={param1}¶m2={param2}";)
.to("restlet:http://localhost:20010/services/getInfos?param1=(param1)¶m2=(param2)&restletMethod=get");
Greg AUTRIC
JBoss Middleware Consultant
email : gautric __a
Hi Akram,
could you please send us your full camel route code (please simplify it) ?
FYI, if the content (HTML) changed from camel route to your browser (check HTML
source code downloaded CTRL+U for firefox), it could be an issue.
else where are css or js file into camel too ? you should create
Hi Guys
I am trying to use the following routing, but unfortunately the bean
invocation is now deprecated in when, can anyone help me how I can achieve
the below without using the deprecated methods?
from(utpStpResponseQueue)
.choice
.when(bean(smlSkipMessageHandler, "skipHandler(
Thanks:
That worked perfectly!!
Dennis...
--
View this message in context:
http://camel.465427.n5.nabble.com/redirecting-with-jetty-component-tp5770397p5770636.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
Thanks for reporting. It seems like a little bug
https://issues.apache.org/jira/browse/CAMEL-9079
On Tue, Aug 11, 2015 at 2:49 PM, Djeeaie . wrote:
> Hello,
>
> while trying to parse xml outside a camel route using xpath (as
> described here :
> http://camel.apache.org/xpath.html#XPath-UsingX
Hi Arnaud,
Please take a look here
https://github.com/apache/camel/blob/master/components/camel-restlet/src/main/java/org/apache/camel/component/restlet/RestletProducer.java#L147
this camel route should work correctly/directly :
from("jetty:http://localhost:8081/myapp/myservice?param1={param1}¶
See the maxMessagesPerPoll option
On Wed, Aug 12, 2015 at 10:29 PM, Claudio R wrote:
> Hi,
> I'm using the FTPConsumer. In FTP, each xml file has the name
> nMMddHHmm.xml, where is the year, MM is the month, dd is the day, HH
> is the hour and mm is the minute.The processing of the fil
Ah.. I see the problem. You are within an element (the client element) that
has the default namespace reset to xmlns="http://cxf.apache.org/jaxws”. Thus
the “ref” element is in that namespace, not the spring namespace.Either use
a prefix for the cxf elements or put an xmlns decl on the r
I have resolved the issue.. It is an issue with quartz component. Quartz was
being shutdown but the webapp didn't wait for quartz to finish before it
shutdown so Tomcat decided that it had left threads running and complained.
So, i override the shutdown method in quartzcomponent as follows and it
w
Hi Dan,
Thanks for the response.
also not working. It is giving following exception:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Cannot locate BeanDefinitionParser for element [bean]
I was referring to http://camel.apache.org/cxf.html, in
Hi
Arrays is not supported with [] etc.
On Thu, Aug 13, 2015 at 12:40 AM, ablevine1 wrote:
> I have found lots of documentation on how to manipulate an array in simple
> but none on how to create one. Is this possible? I have a bean with method
> whose first parameter is an object second pa
Hi
If you build your own big/uber JAR see this FAQ
http://camel.apache.org/how-do-i-use-a-big-uber-jar.html
On Wed, Aug 12, 2015 at 5:06 PM, jspyeatt wrote:
> It's actually weirder than first appeared.
> I do have camel-snmp included in the pom.xml file. I should have mentioned
> that in my orig
Hi,I would like to use different email address for From & Bounces. How to
pass the argument/property to denote bounce email address while sending
email out with camel Email component.For example:from:
noreply@X.combounce email:bounce@X.comto:sankar...@gmail.comi am
using camel 1.10 version.
23 matches
Mail list logo