Hi Claus,
Great - thanks for the quick fix!
Best Regards, Andreas
Mit freundlichen Grüßen / Best regards
Andreas Klug
Middleware Development (CI/XDM1)
Robert Bosch GmbH | Postfach 30 02 20 | 70442 Stuttgart | GERMANY |
www.bosch.com
Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart
test.route 2BB218D90DB24AB-0016 The
list has entries
INFO test.route 2BB218D90DB24AB-0016 There
is no list or the list has no entries
Mit freundlichen Grüßen / Best regards
Andreas Klug
Middleware Development (CI/XDM1)
Robert Bosch GmbH | Postfach 30 02 2
route != null) {
throw new UnsupportedOperationException("Is this really correct ?");
}
...
Another thing is, that the MDC lost the breadcrumb id within the circuit
breaker, thus I had to add it again manually. Is that a known design limitation
or a bug?
Thanks
Sure, Luca.
It's CAMEL-16552.
Best Regards
Andreas
-Original Message-
From: Luca Burgazzoli
Sent: Montag, 26. April 2021 09:54
To: users@camel.apache.org
Subject: Re: Route templates: How to set custom route id
ok, can you open an issue ?
---
Luca Burgazzoli
On Mon, Apr 26, 2021
config:
"[4]":
template-id: "template-route"
...
Best Regards
Andreas
-Original Message-
From: Luca Burgazzoli
Sent: Freitag, 23. April 2021 18:31
To: users@camel.apache.org
Subject: Re: Route templates: How to set cu
ably means that the addRouteFromTemplate call is done automatically
for me without being able to interfere here, or did I miss something?
Best Regards
Andreas
-Original Message-
From: Luca Burgazzoli
Sent: Freitag, 23. April 2021 17:34
To: andreas.kl...@de.bosch.com.invalid
Cc: users@camel.apache.org
Subject:
d("{{route-id}}");
}
I’m using a similar way to set the startup-order on def, which works fine, but
for the route id it doesn’t seem to work. Without the setCustomId() an
exception is thrown (You can only set routeId one time per route).
Best Regards,
Andreas
);
cloned.setPoolSize(maxPoolSize);
If I see this correctly this bug came in with CAMEL-4244 on Aug 18, 2011.
Thank you very much,
best regards,
Andreas Becker
ava system property has a lot of
disadvantages, e. g. just able to address one Kafka cluster, not able to use
the Spring Azure Key Vault integration, ...
Cheers,
Andreas
-Original Message-
From: Pasquale Congiusti
Sent: Dienstag, 24. März 2020 16:30
To: users@camel.apache.org
S
verflow:
https://stackoverflow.com/questions/50090226/how-to-implement-camel-kafka-producer-and-consumer-which-is-using-kafka-brokers
The password contains characters + and /, but as I'm using double quoted YAML
strings, I don't expect this to be an issue.
Anybody having any hints for me?
Thanks in
stantiated bean will an object of the implementing class
==> Is there a way to loosen the type check in Spring to circumvent
this?
Any other ideas how to use camel-pulsar via Spring DSL?
(btw: the "pulsarClient" option is marked as "advanced", it should be
"common&
how to configure the broker URL for the pulsar client instantiated by
the camel-pulsar component?
with 'doCatch', 'onException', 'setFault in the
Consumer','.handled(true)', '.stop()' - but found no way to solve this
problem. I can either switch to 'always acknowledge in case of an
exception' or 'never acknowledge on exception'.
Any ideas or examples?
Best regards,
Andreas
ndled(true)' will be ignored in this scenario
and the message will not be acknowledged.
Is there another solution to handle this scenario?
Best regards, Andreas
on Spring
for this ?
Thank you very much in advance
Andreas Gies
We have an Spring boot application which uses the apache camel JMS adapter
to access webmethods JMS. This is working fine without any problems.
After migrating to Apache camel 2.18.x we have problems with our JMS
integration tests.
Apache camel drops the ssl certificate to access the JMS server
with user defined properties
to make sure you get the right instance (in case you have more than
one instance of a particular service).
Hope that helps
Andreas
On 07/03/17 18:50, kumar wrote:
Hi ,
I am trying to use Camel(2.18.2) + karaf(4.0.8)+blueprint(Aries) for my
migration as suggested
-blended/blended/tree/master/blended.camel.utils
https://github.com/woq-blended/blended/tree/master/blended.samples/blended.samples.camel
Best regards
Andreas
On 03/03/17 13:21, Claus Ibsen wrote:
See the examples there is a spring-dm example that runs in Karaf.
https://github.com/apache/camel
Thanks guys, setting the content type to text/plain did the trick.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-mail-Body-ends-up-as-attachment-instead-of-e-mail-body-in-multipart-mail-tp5789939p5790037.html
Sent from the Camel - Users mailing list archive at
I'm using 2.17.3. I guess I could try 2.18.0.
--
View this message in context:
http://camel.465427.n5.nabble.com/camel-mail-Body-ends-up-as-attachment-instead-of-e-mail-body-in-multipart-mail-tp5789939p5789989.html
Sent from the Camel - Users mailing list archive at Nabble.com.
I'm trying to send an e-mail with a subject, body and attached file. The
subject and attached file works fine. However when I make an attachment, the
body of the email ends up as an unnamed attachment in the final mail.
Is this a bug in Camel or do I need to do something to make sure the
Usually I use "bindingmode.json" on rest-endpoints and let Camel deal with
the marshalling.
Now I would like to control the PropertyNamingStrategy on all
marshale/unmarshal. So far my solution is the one below:
ObjectMapper objectMapper = new ObjectMapper();
JacksonDataFormat format = new
Try this
* in your `log4.properties`:
log4j.logger.org.apache.http=DEBUG
* or if you use Camel with Spring Boot in your `application.properties`:
logging.level.org.apache.http=DEBUG
Am 09.04.2016 um 11:39 schrieb Debraj Manna:
Yeah that is what I am looking for. But I did not find
Instead of annotate your test class with
@RunWith(SpringJUnit4ClassRunner.class)
annotate with
@RunWith(CamelSpringJUnit4ClassRunner.class)
which is the appropriate JUnit runner. See also [1]. You also need to
add this dependency:
Gradle: 'org.apache.camel:camel-test-spring:2.16.2'
But I found out that:
@Value("${myProperty}")
private String filePath;
@Override
public void configure() throws Exception {
String route = "file:"+ filePath + "/?noop=true\"";
from(route) // FILE PATH FROM PROPERTIES
instead of
In [1] they mention only *.properties files - may you give a try. A
related problem is discussed here [2] '@TestPropertySource' ...
[1]
https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config-profile-specific-properties
Great!
Am 05.02.2016 16:59 schrieb "Claus Ibsen" <claus.ib...@gmail.com>:
> Hi
>
> Yeah thanks for reporting and discussing this. We have found the bug
> and its fixed in the next release.
>
> On Tue, Feb 2, 2016 at 10:21 AM, Andreas Siepert
> <andr
You could pass the whole uri as header parameter. If i rember right this
works since 2.16 for to() - if using an older version you could use the
EIP recipientList
Hope that helps
Andi
2016-02-03 11:02 GMT+01:00 yuktisinghal :
> In my current application camel is used as
Opened an issue https://issues.apache.org/jira/browse/CAMEL-9558
Regards
Andi
2016-02-02 7:51 GMT+01:00 TygerC :
> Setting the logging level off works fine:
>
> logName="LoggingErrorHandler" level="OFF"/>
>
> And also doTry/doCatch work: the exception won't go the the error
Hi, my post some days ago relates to the changed behavior too. Until 2.16.
one could be sure that no defaulterrorhandler kicks in when an exception
was marked as handled.
Could please someone clarify if it is a bug or a configuration issue.
Thanks
Andreas
Am 30.01.2016 15:19 schrieb "TygerC&
handled. Any ideas about it?
Best regards
Andreas
2016-01-30 19:01 GMT+01:00 Andreas Siepert <andreas.siep...@gmail.com>:
> Hi, my post some days ago relates to the changed behavior too. Until 2.16.
> one could be sure that no defaulterrorhandler kicks in when an exception
> was ma
;DefaultErrorHandler" is triggered in addition and logs the
already handled error.
Any ideas if this is a bug?
Regards
Andreas Siepert
Hi,
if running your app in OSGi and the Stack-Trace comes from a test using
CamelBlueprintTestSupport, this is a know bug.
Please provide some more details like camel context XML.
Greetz
Andreas
2015-11-18 8:51 GMT+01:00 ehsiung <ehsi...@gmail.com>:
> It seems that Camel Restlet
this from happening?
I hope I supplied enough information and that my questions aren't THAT
stupid.
--
Mvh. Andreas Hagen
before and was reasonably happy with it
and therefore I have not spent much time
with researching alternatives.
Best regards
Andreas
On 28 Oct 2014, at 16:26, gmh gordon...@gmail.com wrote:
All,
I am trying to investigate Akka and camel
Our use case is as follows:
Subscribe
and regards
Andreas
Sorry, I don't know, how to embed code into this post.
This message is a copy of:
https://stackoverflow.com/questions/26572435/log-in-and-outbound-camel-http-messages
--
View this message in context:
http://camel.465427.n5.nabble.com/Log-in-and-outbound-camel-http
.
--
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 October 14, 2014 at 5:23:21 AM, Andreas C. Osowski (
andreas.chr.osow...@gmail.com)
wrote
: willemjiang
Weibo: 姜宁willem
On October 14, 2014 at 4:09:39 PM, Andreas C. Osowski (
andreas.chr.osow...@gmail.com) wrote:
Thanks for the reply. I also came to that conclusion eventually. However,
could you explain to me more how I'd store each batch in a file?
It is my understanding so
Hey there.
I'm running into OOM: Java heap space exceptions trying to aggregate
twitter messages before pushing them to s3. (Xmx/Xms = 1.5g; there's
definitely sufficient free memory available when the exceptions happen)
I've also tried to use camel-leveldb as the AggregationRepository but
without
Hi Giorgio,
The test class:
https://github.com/apache/camel/blob/master/components/camel-testng/src/test/java/org/apache/camel/testng/AbstractCamelTestNGSpringContextTestsPlainTest.java
The definition of the camelContext used in the test:
and just perform
any protocol specific data mapping if required.
Best regards
Andreas
On 10/10/2013 07:23 PM, madhairsilence wrote:
Am having a service running in a Apache tomcat server. Am currently exposing
the service as REST Service.
Now, we have decided to make it available for different
to enable management
access (in terms
of technical management, not your managers) for the routes you develop.
Definitely worth looking at http://hawt.io to see what you can get in
that area.
Andreas
On 10/11/2013 11:22 AM, Andreas Gies wrote:
Hi,
the short answer is: Yes.
A bit more elaborate, I
to ?
Just my 2ct
Andreas
On 10/11/2013 12:40 PM, gudiseashok wrote:
Hi I have a requirement, I want start some routes and leave them with
polling, after some time I want to add some more like that kind.
example
from uri=direct:start
multicast
to uri=direct:a
to uri=direct:b
multicast
Just noted, that I copied the wrong link in my answer earlier on.
[1]
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/processor/MulticastProcessor.html
Sorry for this
Andreas
On 10/11/2013 01:05 PM, Andreas Gies wrote:
Hi,
if I understand correctly, you want
AehmAre you asking how to get your route into its own class
so that you could use it in a container ?
Andreas
On 10/11/2013 01:22 PM, richie.rivi...@gmail.com wrote:
Hi guys,
I was wondering if someone could give me some help out how to re-write this
camel test into a proper camel program
chaecking for expected headers.
Hope that helps
Andreas
On 10/11/2013 04:05 PM, gudiseashok wrote:
Hi Muller,
I am afraid, basically the solution you have provided is for Routing, in
order to do this I have to add when ever I found new server then can call
for routing - Which is basically
with that ...
Best regards
Andreas
On 09/30/2013 12:44 PM, kosalads wrote:
I have done a small app which connect to the camel war and do the processing
and set to another queue. However, when I process sample xml files it does
goes to the relevant queues and process. Unfortunately, when I use
dynamically and bundle
stop / restart does work.
This having said, in the beginning I was facing a slight problem with
respect to recognize what file
had been changed reliably. Perhaps you have a similar problem - your
config not being picked up in
a restart scenario ?
Best regards
Andreas
, but it does with a normal
queue.
Best regards
Andreas
On 09/08/2013 05:14 PM, Nhan Nguyen wrote:
Hi all,
I have 2 machines, one for producer and one for consumer. Sometime I need to
create some temp queues for sending/receiving messages. But I see that I can
not use temp queue this case. All
, I am packaging the application myself and therefore
can choose a fitting OSGi
provider.
Best regards
Andreas
On 09/09/2013 09:38 AM, JavaAdam wrote:
Hi,
I have tried to deploy an OSGi application based on Apache Camel 2.11.1 on a
IBM WebSphere Application Server 8. But I failed, because Camel
Point taken ;) - Was half joking.
Andreas
On 09/09/2013 12:10 PM, Christian Schneider wrote:
I think what he meant is that Camel currently can not run as a real
OSGi application in Websphere App Server 8.
So in this environment it would be really great if we could lower the
minimum needed
could still crash between collecting the file
names and writing the property
file.
As Charles pointed out, a CamelContext is an Object in memory, so it
comes down to having a somewhat dynamic
initializer.
Bet regards
Andreas
On 09/05/2013 07:27 PM, Charles Moulliard wrote:
Guru
transacted routes ? - What is the TTL of your messages ?
Is the entire use case run on a single machine ? - Have you examined
the inflight messages as suggested ?
Best regards
Andreas
On 09/05/2013 08:46 PM, prabumc...@gmail.com wrote:
I am using camel 2.10.3 version
On Sep 5, 2013 10:22 PM
control messages.
My 2ct
Andreas
On 09/06/2013 09:48 AM, Gnanaguru S wrote:
Thanks for the clarification Charles Andreas, I understand. I hope there
is a roadmap for this in Camel 3.0 .
Claus, This is the best available solution as of now, which I consider using
it.
Cheers,
Guru
gnanaguru.com
assertions for them.
Hope that helps
Andreas
On 09/06/2013 10:06 AM, prabumc...@gmail.com wrote:
Thanks so much fro reply .
I am not setting TTL for any messages
If i run test case in single machine ( test case and broker) it worked fine.
Issue is when i run test case connecting broker which
One thing to keep in mind when you are experiencing odering issues is
that you can use ActiveMQ's message groups to make all messages for
one group to the same consumer. Very often that little trick helps
and still allows some form of concurrency for different groups.
Andreas
On 09/05/2013 11
Works like a charm; as expected ;)
Thx
Andreas
Am 7/22/13(30) 5:22 PM schrieb Claus Ibsen unter claus.ib...@gmail.com:
Hi
Yep set the id of the processors. Then that id is used as part of the JMX
name
http://camel.apache.org/camel-jmx.html
.process( ... ).id(nameOfMyProcessor)
On Mon, Jul
Hi,
It might be my complete ignorance of the problem, but have you considered
to leave your context happily running and take advantage of the many
mechanisms in Camel to leverage Thread pools and the like ?
Just my 2 ct
Andreas
Am 7/23/13(30) 7:26 AM schrieb SyedBhai unter
syedahmed.c
://www.wayofquality.de/index.php/en/blog/entry/using-the-camel-servlet-
component-in-an-osgi-blueprint-container
I am using pax-web as an HTTP service implementation, but the blog simply
assumes that you some form of http service and hopefully the
pax-web-extender installed.
Hope that helps
Andreas
Andreas
way to influence those last 2 names from my route builder
? - Potentially I have overlooked something in the docs ...
For convenience I have attached a piece of my JVisualVM screenshot
that shows the processors in question.
Best regards
Andreas
Hi,
Perhaps it's with posting your test as well ?
Best regards
Andreas
Am 7/18/13(29) 11:37 PM schrieb Gershaw, Geoffrey unter
geoffrey.gers...@credit-suisse.com:
I'm running this in a standalone java app using Spring. Its camel 2.11.
I was under the impression from the various samples
Hi
If you are asking whether you can have a route across 2 brokers, that is a
definite yes. I didn't get the question behind your 2nd paragraph.
Best rgds
Andreas
Sent from Samsung tabletdeepak_a angesh...@gmail.com wrote:Hi,
In my architecture I am using Jboss+ActiveMQ (integrated
messages. IMHO an ESB architecture
is primarily event driven, so that the inbound side pushes messages and
the consumer side is notified when those messages arrive.
The underlying JMS Broker (in this case ActiveMQ) allows all kind of
dispatching strategies.
Hope that helps
Andreas
Am 7/18/13
Hmmm
Looks good enough to me. Is there any error message to share ? Which
version of Camel are you using ?
If you are willing to post your route I can drop it in my IDE tomorrow .
Regards
Andreas
Am 7/18/13(29) 7:12 PM schrieb Gershaw, Geoffrey unter
geoffrey.gers...@credit-suisse.com
in .internal and
have configured my builds
not to export something that matches this pattern.
Good luck
Andreas
Am 7/16/13(29) 9:29 AM schrieb Claus Ibsen unter claus.ib...@gmail.com:
If the xsl file is in the classpath of your own bundle, then you need
to export this package. Looks like you
). For inspiration you can have a look at
https://github.com/atooni/de.woq.osgi.java/blob/master/de.woq.osgi.java.lau
ncher/src/main/java/de/woq/osgi/java/container/Main.java
For me that works very well and I use pax-runner composites to keep my
container profiles around.
Best regards
Andreas
Am 7
The variables ${bundle.namespace} and ${bundle.symbolicName} always
resolve to my artifactId, which is in my bundles always
${project.groupId} + . + uniqueidentifier.
Having this kind of structure kind of gives you a natural order of
packages and exports.
Have fun
Andreas
Am 7/16/13(29) 9:48 AM
Hi,
Have you considered using the camel-blueprint-testing support ?
This is what I use to test my Camel based OSGi bundle and that
gives me good results.
Best regards
Andreas
Andreas Gies
WoQ Way of Quality UG
http://www.wayofquality.de
Geschäftsführer CTO
eMail: andr
regards
Andreas
Hi,
Yes, that does the trick. My mistake was that I tried to create the
CamelContext in Java.
Now I am creating it via blueprint and inject a RouteBuilder.
Thanks
Andreas
Andreas Gies
WoQ Way of Quality UG
http://www.wayofquality.de
Geschäftsführer CTO
eMail: andr
with path / --
camel:from uri=servlet:///test /
camel:to uri=file:///tmp/woq-out /
/camel:route
/camel:camelContext
/blueprint
If you think this is usefull, I am happy to stick it in the wiki rather than
in the user's list.
Best regards
Andreas
Andreas Gies
WoQ Way of Quality
DSLs.
http://camel.apache.org/error-handling-in-camel.html
Thank you very much for taking the time to look at this :)
-Andreas
inside the multicast.
With Scala DSL you can possible do that by a { } block. If not you may
need to use a pipeline { ... } etc.
Then in the pipeline you can do the transform - log. And then have 2
pipelines.
Hope my rambling makes sense.
On Sun, Jul 15, 2012 at 6:39 PM, Andreas Feldmann
Yeah I found and applied the example from the book.
This works as long as there is actually a prefix in the xml. When there's
only a default namespace the XPath-qeury returns nothing. It doesn't throw
an exception like it normally would if the path was incorrect.
--
View this message in context:
Claus can you provide an example of the @Xpath-annotation where a namespace
is specified?
I have this issue https://issues.apache.org/jira/browse/CAMEL-3155 and I
believe that Ashwin's and your answer in this thread should solve the
problem.
I'm using Camel 2.4.0 w. Spring DSL and tried Ashwin's
There is no example of this on the website as far as I can see, but thanks
for the pointer to the section in the book. I still think there is a problem
when using a routeContext. I haven't tried newer versions though.
Also - does Ashwins example produce the same result as this (only in Spring
Hallo!
I have used the Java DSL for a while, but I would like to use the scala DSL
for another project.
So I would like to know: Is every EI-pattern supported by the scala DSL?
I have discovered this page http://camel.apache.org/scala-dsl-eip.html and I
am suprised that not every EI-pattern has
Thanks a lot. My eclipse complained about the missing schema.
I added your suggested jar by:
dependency
groupIdorg.apache.camel/groupId
artifactIdcamel-cxf-transport/artifactId
version${camel-version}/version
/dependency
--
View this message in context:
there is message and sometimes the
message is empty.
What do you think?
Thanks for any suggestions!
Best regards,
Andreas Feldmann
--
View this message in context:
http://camel.465427.n5.nabble.com/Testing-MockEndpoint-has-sometimes-a-Message-and-sometimes-not-tp5157327p5157327.html
Sent from the Camel
Hallo!
I have tried to use a cookbook article, but this article uses a schema file
which does not exist.
The article can be found here:
http://camel.apache.org/camel-transport-for-cxf.html
And the missing schema file is: http://cxf.apache.org/transports/camel.xsd
Where is this schema file?
And
I think I should mention the versions of my components. Here is the part from
my pom.xml
camel-version2.8.3/camel-version
jaxb-api-version2.1/jaxb-api-version
jaxb-impl-version2.1.13/jaxb-impl-version
cxf-version2.4.4/cxf-version
java-version1.6/java-version
Hi,
It's defined in parent/pom.xml ...
Cheers
Andi
--
View this message in context:
http://camel.465427.n5.nabble.com/mvn-eclipse-clean-eclipse-eclipse-not-being-happy-with-jetty-version-tp4806907p4807028.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
ningjiang already created a ticket and fixed the problem.
CAMEL-4368 Fixed the issue of the debug doesn't work in the
CamelSpringTestSupport
Regards,
Andi
--
View this message in context:
Hi Claus,
It's not working with JUnit4 either but I found the problem: The camel
context is started too early.
The system property maybeStartCamelContext is set to true and this causes
the SpringCamelContext to be started in maybeStart(). If you set the
maybeStartCamelContext to false the
Hi,
I'm trying to use the test-support for testng with CamelSpringTestSupport.
Unfortunately I can't get the debugger to call the debugBefore() method. Has
anyone a sample that shows the correct configuration?
If I create a test with CamelTestSupport instead of CamelSpringTestSupport
the
Hi,
In the current feature file for karaf the commons-pool bundle in the
camel-cxf is defined as commons-pool/commons-pool and not as
org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-pool as
in the other features (e.g. camel-jms, etc).
Is this expected or could this be changed
Found out that you must return at least one converter to make camel happy ...
Use this updated method:
public Setlt;Classlt;?gt; findAnnotated(Class? extends Annotation
annotation,
String... packageNames) {
// we must return at least 1 converter
Hi,
I had the same problem and the solution is easy. Just create a class
that implements PackageScanClassResolver and define it as bean [1].
Camel will find it during startup of the context and use this bean
instead of creating the DefaultPackageScanClassResolver that scans the
classpath. Maybe
Hi
I have an object o that has an enum that I want to change to status
RECEIVED. Is it possible to change this state like o.status =
Status.RECEIVED in the dsl? Or do I have to create a pojo that does this for
me.
--
View this message in context:
Hi
In order to use the hibernate component do I need more than
camel-hibernate-1.0-SNAPSHOT.jar on the classpath? The hibernate:
endpoint is not being resolved. There is also a maven component target
that has no published jars in the maven repo, do I need to build it?
--
View this message in
If I use receiveNoWait() no files will be downloaded from the ftp, maybe
because the the ftp component doesn't have time to login to the ftp?
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-ConsumerTemplate-to-fetch-files-tp3304671p3307566.html
Sent from the Camel -
Hi Claus
You can use a recipient list and construct a dynamic uri with the file
name you want to poll. And you can then provide an aggregration
strategy. For example the UseLatestAggregationStrategy.
Can you elaborate on how this is done. I can't quite put the pieces together
to create what
Hi
I should be a subscriber. I have made 100+ posts via nabble. I haven't
changed anything regarding my account, are my posts not accepted on the
mailinglist anymore or?
I've tried with both 2.5 and 2.6. I'm getting some really odd behaviour -
why is it stacking the base dir inbox?:
- ERROR
Ah ok!
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-ConsumerTemplate-to-fetch-files-tp3304671p3304746.html
Sent from the Camel - Users mailing list archive at Nabble.com.
However if I use only receiveBody I miss the headers like the filename etc.
--
View this message in context:
http://camel.465427.n5.nabble.com/Using-ConsumerTemplate-to-fetch-files-tp3304671p3304747.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Can't find anything along those lines. I tried doing
while(true) {
Exchange ex = consumer.receive(ftpsUri, 5000);
if(ex != null) {
logger.info(Fetching file: +
ex.getIn().getHeader(CamelFileName));
producer.send(fileUri, ex);
Oh it was a private method. Thought you meant in the api. I suppose I should
do the manual handover then. Just pasting here for future reference:
if (exchange.getUnitOfWork() == null) {
// handover completions and done them manually to ensure they are being
executed
Hi
Something fishy is still going on, this is the code now:
String ftpsUri =
ftp:localhost:1981/inbox?consumer.delay=1husername=camelpassword=camel123move=.done;
String fileUri = file:{{path.in}};
consumer.start();
while(true) {
Exchange exchange = consumer.receive(ftpsUri, 5000);
Hi
I have a standalone Camel application:
A java main method with a Camel Main class that starts two different
contexts.
In case of an OutOfMemoryError I would like to propagate this Error from
Camel to the enclosing java main method. How can I propagate Errors and
Exceptions out of the Camel
Hi
I have an application that simply put does this:
Ingoing:
1 - Fetch file from FTP-Local directory.
2 - Read file from Local directory, transform and split the file into
several messages and deliver to JMS queue.
Outgoing:
1 - Fetch messages from JMS queue as they are produced, transform and
1 - 100 of 185 matches
Mail list logo