RE: Behavior change 3.11.3>3.13.0?

2021-11-23 Thread Klug Andreas (CI/XDM1)
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

Behavior change 3.11.3>3.13.0?

2021-11-22 Thread Klug Andreas (CI/XDM1)
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

Camel 3.11: CircuitBreaker breaks split? "java.lang.UnsupportedOperationException: Is this really correct ?"

2021-07-02 Thread Klug Andreas (CI/XDM1)
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

RE: Route templates: How to set custom route id

2021-04-26 Thread Klug Andreas (CI/OSI3)
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

RE: Route templates: How to set custom route id

2021-04-26 Thread Klug Andreas (CI/OSI3)
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

RE: Route templates: How to set custom route id

2021-04-23 Thread Klug Andreas (CI/OSI3)
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:

Route templates: How to set custom route id

2021-04-23 Thread Klug Andreas (CI/OSI3)
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 ​

Potential bug in ThreadPoolProfile.clone ?

2020-08-11 Thread Andreas Becker
); 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    

RE: KafkaComponent: Authentication failed

2020-03-25 Thread Klug Andreas (CI/OSI3)
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

KafkaComponent: Authentication failed

2020-03-24 Thread Klug Andreas (CI/OSI3)
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

Re: configuration of the Pulsar component

2020-01-22 Thread Andreas Findert
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&

configuration of the Pulsar component

2020-01-21 Thread Andreas Findert
how  to configure the broker URL for the pulsar client instantiated by the camel-pulsar component?

JMS Acknowledge mode

2017-09-04 Thread Andreas Bergmann
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

Transaction handling with JMS acknowledge mode SESSION_TRANSACTED

2017-08-28 Thread Andreas Bergmann
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

Question regarding reconnecting JMS provider

2017-05-30 Thread Andreas Gies
on Spring for this ? Thank you very much in advance Andreas Gies

Apache camel drops SSL certificate during tests after migrating to 2.18

2017-05-05 Thread Andreas Bergmann
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

Re: Camel with Karaf + Blueprint

2017-03-07 Thread Andreas Gies
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

Re: Camel with OSGI in Felix with Spring DSL

2017-03-03 Thread Andreas Gies
-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

Re: camel-mail: Body ends up as attachment instead of e-mail body in multipart mail.

2016-11-11 Thread Andreas A.
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

Re: camel-mail: Body ends up as attachment instead of e-mail body in multipart mail.

2016-11-10 Thread Andreas A.
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.

camel-mail: Body ends up as attachment instead of e-mail body in multipart mail.

2016-11-09 Thread Andreas A.
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

REST/Jackson: Is it possible to set global PropertyNamingStrategy?

2016-09-16 Thread Andreas A.
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

Re: Http Request Url, Body & Header

2016-04-09 Thread Andreas Gebhardt
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

Re: Camel Properties Spring Boot Unit test not found

2016-03-26 Thread Andreas Gebhardt
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'

Re: Camel Properties Spring Boot Unit test not found

2016-03-26 Thread Andreas Gebhardt
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

Re: Camel Properties Spring Boot Unit test not found

2016-03-26 Thread Andreas Gebhardt
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

Re: onException block in camel 2.16.1

2016-02-05 Thread Andreas Siepert
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

Re: soTimeout ignored by camel http component

2016-02-03 Thread Andreas Siepert
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

Re: onException block in camel 2.16.1

2016-02-02 Thread Andreas Siepert
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

Re: onException block in camel 2.16.1

2016-01-30 Thread Andreas Siepert
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&

Re: onException block in camel 2.16.1

2016-01-30 Thread Andreas Siepert
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

jetty - handled true not working as before

2016-01-27 Thread Andreas Siepert
;DefaultErrorHandler" is triggered in addition and logs the already handled error. Any ideas if this is a bug? Regards Andreas Siepert

Re: Camel Restlet component not using property placeholder resolver and not support classpath resource type

2015-11-18 Thread 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

Using CSVRecords 'required' option without throwing exception in unmarshalling

2014-11-06 Thread Andreas Hagen
this from happening? I hope I supplied enough information and that my questions aren't THAT stupid. -- Mvh. Andreas Hagen

Re: Camel use case with Akka

2014-10-28 Thread Andreas Gies
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

Log in- and outbound camel http messages

2014-10-27 Thread Andreas Pokrzywinski
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

Re: Twitter + Aggregation: Out of Memory errors

2014-10-14 Thread Andreas C. Osowski
. -- 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

Re: Twitter + Aggregation: Out of Memory errors

2014-10-14 Thread Andreas C. Osowski
: 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

Twitter + Aggregation: Out of Memory errors

2014-10-13 Thread Andreas C. Osowski
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

RE: Migrating from CamelTestSupport to AbstractCamelTestNGSpringContextTests

2014-10-02 Thread Kuhtz, Andreas
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:

Re: Camel with Multiple types of Endpoints

2013-10-11 Thread Andreas Gies
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

Re: Camel with Multiple types of Endpoints

2013-10-11 Thread Andreas Gies
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

Re: Help with Dynamic route

2013-10-11 Thread Andreas Gies
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

Re: Help with Dynamic route

2013-10-11 Thread Andreas Gies
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

Re: Help to re-write route

2013-10-11 Thread Andreas Gies
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

Re: Help with Dynamic route

2013-10-11 Thread Andreas Gies
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

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-10-03 Thread Andreas Gies
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

Re: Dynamic route not started when OSGi bundle it is in is uninstalled and then reinstalled

2013-09-17 Thread Andreas Gies
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

Re: Can not consume messages which are sent to temp queue using 2 different camel contexts

2013-09-09 Thread Andreas Gies
, 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

Re: Is the higher OSGi version really needed?

2013-09-09 Thread Andreas Gies
, 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

Re: Is the higher OSGi version really needed?

2013-09-09 Thread Andreas Gies
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

Re: Web based camel route automation

2013-09-06 Thread Andreas Gies
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

Re: Camel routing issue after upgrade into active-mq 5.8

2013-09-06 Thread Andreas Gies
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

Re: Web based camel route automation

2013-09-06 Thread Andreas Gies
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

Re: Camel routing issue after upgrade into active-mq 5.8

2013-09-06 Thread Andreas Gies
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

Re: Are there any Camel hack to make all the JMS component to use one and only thread?

2013-09-06 Thread Andreas Gies
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

Re: Custom names for processors within routes

2013-07-23 Thread Andreas Gies
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

Re: Camel Thread does not terminate

2013-07-23 Thread Andreas Gies
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

Re: camel integration in servicemix

2013-07-22 Thread Andreas Gies
://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

Custom names for processors within routes

2013-07-22 Thread 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

Re: Hello World? Maybe not :)

2013-07-19 Thread Andreas Gies
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

Re: Round Robin in Camel Routes

2013-07-18 Thread andreas
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

Re: Round Robin in Camel Routes

2013-07-18 Thread Andreas Gies
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

Re: Hello World? Maybe not :)

2013-07-18 Thread Andreas Gies
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

Re: Camel resources URI into OSGi environment

2013-07-16 Thread Andreas Gies
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

Re: Camel resources URI into OSGi environment

2013-07-16 Thread Andreas Gies
). 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

Re: Camel resources URI into OSGi environment

2013-07-16 Thread Andreas Gies
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

Re: Testing camel component resolving in OSGI with Pax Exam

2013-04-23 Thread Andreas Gies
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

camel-osgi bundle

2013-04-22 Thread Andreas Gies
regards Andreas

Re: camel-osgi bundle

2013-04-22 Thread Andreas Gies
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

Using the Servlet component in a Blueprint container

2013-04-16 Thread Andreas Gies
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

Re: Global exception policy across Route builder configure methods

2012-10-01 Thread Andreas Jacobsen
DSLs. http://camel.apache.org/error-handling-in-camel.html Thank you very much for taking the time to look at this :) -Andreas

Re: Usage of Scala DSL

2012-07-16 Thread Andreas Feldmann
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

Re: XPath namespaces in Spring DSL?

2012-06-15 Thread Andreas A.
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:

Re: XPath namespaces in Spring DSL?

2012-06-14 Thread Andreas A.
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

Re: XPath namespaces in Spring DSL?

2012-06-14 Thread Andreas A.
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

Scala Support

2012-04-11 Thread Andreas Feldmann
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

Re: Missing schema file in a cookbook article

2012-01-19 Thread Andreas Feldmann
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:

Testing: MockEndpoint has sometimes a Message and sometimes not

2012-01-19 Thread Andreas Feldmann
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

Missing schema file in a cookbook article

2012-01-07 Thread Andreas Feldmann
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

Re: Protocol mismatch for port 443: engine's protocol is http, the url protocol is https

2012-01-06 Thread Andreas Feldmann
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

Re: 'mvn eclipse:clean eclipse:eclipse' not being happy with ${jetty-version}

2011-09-15 Thread Andreas Kuhtz
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.

Re: camel-testng: Start debugger with CamelSpringTestSupport

2011-08-24 Thread Andreas Kuhtz
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:

Re: camel-testng: Start debugger with CamelSpringTestSupport

2011-08-22 Thread Andreas Kuhtz
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

camel-testng: Start debugger with CamelSpringTestSupport

2011-08-19 Thread Andreas Kuhtz
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

camel-karaf-feature: commons-pool bundle in camel-cxf

2011-07-08 Thread Andreas Kuhtz
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

RE: TypeConverterLoaderException in webstart

2011-06-06 Thread Andreas Kuhtz
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

RE: TypeConverterLoaderException in webstart

2011-05-27 Thread Kuhtz, Andreas
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

Change object state via dsl?

2010-12-21 Thread Andreas A.
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:

Download camel-extra / Hibernate component.

2010-12-17 Thread Andreas A.
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

Re: Using ConsumerTemplate to fetch files.

2010-12-16 Thread Andreas A.
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 -

Re: Error in wiki about pollEnrich?

2010-12-16 Thread Andreas A.
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

Re: Using ConsumerTemplate to fetch files.

2010-12-14 Thread Andreas A.
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

Re: Using ConsumerTemplate to fetch files.

2010-12-14 Thread Andreas A.
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.

Re: Using ConsumerTemplate to fetch files.

2010-12-14 Thread Andreas A.
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.

Re: Using ConsumerTemplate to fetch files.

2010-12-14 Thread Andreas A.
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);

Re: Using ConsumerTemplate to fetch files.

2010-12-14 Thread Andreas A.
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

Re: Using ConsumerTemplate to fetch files.

2010-12-14 Thread Andreas A.
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);

Propagate exceptions from Camel to wrapping main method?

2010-12-03 Thread Andreas A.
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

How to improve robustness of my routes?

2010-11-26 Thread Andreas A.
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   2   >