Re: Camel 4.3.0 and OpenTelemetry - nothing happens

2024-02-06 Thread David Ecker
OK, after retrying the example and creating everything from scratch - it works now. Was a layer 8 problem. Thanks, David On 2/6/24 16:10, David Ecker wrote: Hi, yes, that's exactly where I got the FlightBook example from. bye David On 2/6/24 16:05, Federico Mariani wrote: Hi, did you

Re: Camel 4.3.0 and OpenTelemetry - nothing happens

2024-02-06 Thread David Ecker
Hi, yes, that's exactly where I got the FlightBook example from. bye David On 2/6/24 16:05, Federico Mariani wrote: Hi, did you check this example <https://github.com/apache/camel-spring-boot-examples/tree/main/opentelemetry> ? Il giorno mar 6 feb 2024 alle ore 16:02 David Ecker ha s

Camel 4.3.0 and OpenTelemetry - nothing happens

2024-02-06 Thread David Ecker
tion-name: camel So disabeling mdc will remove the first log line. I also tried the example project FlightBooking from the github repo camel-spring-boot-examples - nope, did not work either. I also checked using tcpdump trying to capture those traces - nothing. Thank you, David OpenPGP_0x

Re: Shared configurations for service call EIP

2022-10-07 Thread David Harris
Thanks for the Info Claus, and for all your work on Camel. Your Camel in Action book has helped me a lot. Is there a recommended replacement? We are using a Erueka server for service registration / discovery and I'm wondering if Camel has a way to hook into it for service discovery. David

Shared configurations for service call EIP

2022-10-06 Thread David Harris
someone point me in the right direction, please? Thanks David Harris

There appears to be a bug in the mongodb example

2022-04-13 Thread David Yang
quot;jetty:http://0.0.0.0:8081/hello;) .to("mongodb:myDb?database=test=test=insert") .log("${body}") .setBody(simple("${body}")) ; } } David Yang Computer Science

Re: Apache Log4j Security Vulnerabilities

2021-12-13 Thread David Ecker
Thanks, one system less to fix. bye David On 12/13/21 11:40 AM, Claus Ibsen wrote: On Mon, Dec 13, 2021 at 11:37 AM David Ecker wrote: Hi Claus, the information is from Red Hat, if I understood it correctly: https://access.redhat.com/security/vulnerabilities/RHSB-2021-009 Their product

Re: Apache Log4j Security Vulnerabilities

2021-12-13 Thread David Ecker
Hi Claus, the information is from Red Hat, if I understood it correctly: https://access.redhat.com/security/vulnerabilities/RHSB-2021-009 bye David On 12/13/21 11:32 AM, Claus Ibsen wrote: On Mon, Dec 13, 2021 at 10:45 AM David Ecker wrote: Hi, since it looks like camel/camel-k

Apache Log4j Security Vulnerabilities

2021-12-13 Thread David Ecker
Hi, since it looks like camel/camel-k is directly affected by the vulnerability; Is a patch or a workaround for camel-k already available? Thanks, David

Handling REST responses when you need to change the exchange body

2021-05-13 Thread David Shubert
I want to create a REST endpoint where my processor does some work, creates a POJO with values I want to return, and puts some other values on a Google pubsub using that component. To return the POJO in REST I have to make it the body of the exchange. However to send something to pubsub I have to

Re: Need to ACK messages before end of route

2021-04-20 Thread David Shubert
Steve Yes, I broke these up into routes. I tried your idea by making processor4 throw an exception but Pubsub still redelivers the message. Did I put it into the right place? Thanks, David rest("myURL") .post("lastPartOfURL") .outType(String.class) .rout

Need to ACK messages before end of route

2021-04-20 Thread David Shubert
y problem is that Camel doesn't ACK the message until Processor4 successfully completes. So if Processor4 throws an exception the message is redelivered endlessly. This is not what I want. Is there a way to tell Camel to ACK the message in Processor3 so that it won't be redelivered? Thanks, David -- T

Re: Fwd: Sample API run with Camel-K does .. almost nothing

2021-03-19 Thread David Ecker
failed somehow Right now there are to many possibilities which could go wrong like a wrong RBAC (role based access control) configuration or some incompatibility. bye David *From:* Gerald Kallas [mailto:catsh

Using camel-k getting negative exchange inflight count numbers or why does my route block

2021-03-12 Thread David Ecker
now at ~-3 after 2 days running. Does anybody have an idea what I should look for or that the source of problem is/was? Thanks, David

Re: wonkiness with graphql component

2021-02-02 Thread David Holiday
then you should use *toD* and > not *to*. To D is for To Dynamic. > > On Sun, Jan 24, 2021 at 9:05 AM David Holiday > wrote: > > > > Hello fellow Camel riders, > > > > I'm trying to use the graphql component to do some integration work with > > Gi

wonkiness with graphql component

2021-01-24 Thread David Holiday
Hello fellow Camel riders, I'm trying to use the graphql component to do some integration work with Github and I've noticed some odd behaviors: 1) for some reason, I can't use Simple to dynamically create queries. When I log the query it shows up correctly. for example: the JavaDSL statement:

Re: Quick question about processors and DSL

2021-01-22 Thread David Holiday
e required work to initailize and instance of > it (if needed) et all - is what the bean component is needed for > > The process is for basic java where it requires an object instance. > > On Fri, Jan 22, 2021 at 3:14 PM David Holiday > wrote: > > > > Hello fellow camel r

Quick question about processors and DSL

2021-01-22 Thread David Holiday
Hello fellow camel riders! Whenever I make a processor I have to access it i. DSL using "to()". When I attempt to access it using "process()" i get an error message telling me the class could not be found in the registry. I did some experimentation and it seems as though I can use "process()" if

Re: Introducing K-car: a microservice framework for Camel

2021-01-12 Thread David Holiday
that this is a java project and I don't want to force java devs to maintain a python dependency as well. David Holiday On Tue, Jan 12, 2021 at 10:11 AM Romain Manni-Bucau wrote: > Hi David, > > Did read the readme and browsed (too quickly this is why i asked) the code > but i'm not sure currentl

Introducing K-car: a microservice framework for Camel

2021-01-12 Thread David Holiday
o many cooks in the same kitchen' bs. I'm sure I'm not the first engineer to have these challenges so definitely curious as to your thoughts not only on the merits of this particular solution, but also your thoughts and experiences in addressing them. cheers (and ty!) David

Using Server-Side-Events (SSE) with Camel acting as a reverse-proxy

2020-10-26 Thread David Kumar
<< "Connection: keep-alive[\r][\n]" 2020-10-22 11:20:32.826 DEBUG 21995 --- [io-8082-exec-35] org.apache.http.wire : http-outgoing-33 << "[\r][\n]" 2020-10-22 11:20:32.826 DEBUG 21995 --- [io-8082-exec-35] org.apache.http.wire

Aggregating CSVs and splitting on data

2020-03-02 Thread Smith, David (09)
. Is this the right way to go about this or have I recreated something that Camel can do more cleanly? David Smith This email may contain information which is confidential and is intended only for use of the recipient/s named above. If you are not an intended recipient, you are hereby notified that any

camel-ssh/Persistent Endpoint Connection/Request

2019-10-13 Thread David Ecker
if host/login or password changes. Pass back an exception if a connection is lost to let the route handle that case. What do you think of that? bye David Ecker

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-02 Thread David Ecker
nter based, seems to be the same source. -- David Ecker On 10/2/19 3:23 PM, Andrea Cosentino wrote: Did you find the time to test with only Moshi dep? -- Andrea Cosentino -- Apache Camel PMC Chair Apache Karaf Committer Apache Servicemix PMC Member Email: ancosen1...

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread David Ecker
Mmh, still the same. Reinstalled converter-moshi as 2.4.0 and called "refresh" to recalculate bindings afterwards bye David On 10/1/19 4:44 PM, Andrea Cosentino wrote: The converter-moshi in the retrofit bundle has optional resolution.. Il giorno mar 1 ott 2019 alle ore 16

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread David Ecker
Hi Andrea, I guessed you mean installing the converter-moshi as wrap:mvn:com.squareup.retrofit2/converter-moshi/2.6.2 Still getting the same error, missing moshi$Builder class. Or did you mean something else? Thanks, David On 10/1/19 4:25 PM, Andrea Cosentino wrote: Thanks for reporting

Re: camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread David Ecker
Thanks, I opened the ticket : https://issues.apache.org/jira/browse/CAMEL-14026 bye David On 10/1/19 4:15 PM, Andrea Cosentino wrote: Nothing wrong from your side, we are missing the converter-moshi dependency on the Karaf feature. Can you please open an issue on Camel JIRA? Thanks Il

camel-influxdb/NoClassDefFoundError/Moshi

2019-10-01 Thread David Ecker
) ~[?:?]     at org.influxdb.impl.InfluxDBImpl.(InfluxDBImpl.java:187) ~[?:?]     at org.influxdb.InfluxDBFactory.connect(InfluxDBFactory.java:30) ~[?:?] Any idea what I am doing wrong? Thanks, David

Re: camel3 properties component?

2019-07-21 Thread David Karlsen
Thanks - it passes now! søn. 21. jul. 2019 kl. 12:58 skrev Claus Ibsen : > Make sure you use > > ${xxx} in the simple syntax for Camel 3 > > On Sun, Jul 21, 2019 at 12:15 PM David Karlsen > wrote: > > > > See [*] for validation error by the camel maven plugin fo

camel3 properties component?

2019-07-21 Thread David Karlsen
= invalid) [ERROR] Duplicate route id validation success (0 = ids) [ERROR] Endpoint pair (seda/direct) validation success (0 = pairs) [ERROR] -> [Help 1] -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Re: Jasypt Support in Spring Boot

2019-06-08 Thread David Karlsen
There is a component for integrating boot and jasypt (don't have the link here now) try that instead. lør. 8. jun. 2019, 03:56 skrev Stanley Brown : > Hi, > > I'm receiving the following error trying to use Jasypt and the > BridgePropertyPlaceholderConfigurer from a XML configuration in a Spring

Re: [ANNOUNCEMENT] Apache Camel 2.23.1 Released

2019-01-18 Thread David Karlsen
> Many thanks to all who made this release possible. > > On behalf of the Camel PMC, > Gregor Zurowski > > [1] http://camel.apache.org/download.html > [2] http://camel.apache.org/camel-2231-release.html > [3] > https://issues.apache.org/jira/secure/ReleaseNote.jspa?versio

RE: Antwort: CXF : setting maxChildElements on endpoint

2018-10-05 Thread Duchaine, David
that are configured in the context. Is there a shared bus for all routes using the CXF component. A bus per route? Thanks, David -Message d'origine- De : bjoern@provinzial.de [mailto:bjoern@provinzial.de] Envoyé : 4 octobre 2018 08:13 À : users@camel.apache.org Objet : Antwort

CXF : setting maxChildElements on endpoint

2018-10-02 Thread Duchaine, David
tried adding the following property but still no avail: properties.org.apache.cxf.interceptor.OneWayProcessorInterceptor.USE_ORIGINAL_THREAD=true Are we missing something here? thanks, David

Re: split(), shareUnitOfWork & transacted()

2018-07-20 Thread David Karlsen
They won't share transactions as these are backed by spring and kept as threadlocals Den fre. 20. jul. 2018, 01:07 skrev Iglehart, Vince < vince.igleh...@kniferiver.com>: > I have a question on propagating a transaction with split() and > shareUnitOfWork(). I have a route defined below in Camel

Re: Spring boot gives null pointer in xml based camel configutaions

2018-06-27 Thread David Karlsen
ead XML? I am deploying Spring Boot Camel > Java routes as war's with no issues. > > On Wed, Jun 27, 2018 at 2:09 PM, David Karlsen > wrote: > > > No - it is not wrong to create .war's: > > https://docs.spring.io/spring-boot/docs/1.5.14.RELEASE/ > > reference/htmls

Re: Spring boot gives null pointer in xml based camel configutaions

2018-06-27 Thread David Karlsen
> > > at > > > org.apache.camel.impl.DefaultCamelBeanPostProcessor$1.doWith(DefaultCamelBeanPostProcessor.java:185) > > > at > > > org.apache.camel.util.ReflectionHelper.doWithFields(ReflectionHelper.java:74) > > > at > > > org.apache.camel.impl.DefaultCamelBeanPostProcessor.injectFields(DefaultCamelBeanPostProcessor.java:167) > > > at > > > org.apache.camel.impl.DefaultCamelBeanPostProcessor.postProcessBeforeInitialization(DefaultCamelBeanPostProcessor.java:82) > > > at > > > org.apache.camel.spring.CamelBeanPostProcessor.postProcessBeforeInitialization(CamelBeanPostProcessor.java:153) > > > ... 197 more > > > [INFO] Started ServerConnector@6847dfe8{HTTP/1.1,[http/1.1]}{ > > 0.0.0.0:8080}<mailto:ServerConnector@6847dfe8 > > %7bHTTP/1.1,%5bhttp/1.1%5d%7d%7b0.0.0.0:8080%7d> > > > [INFO] Started @96732ms > > > [INFO] Started Jetty Server > > > > > > Process finished with exit code -1 > > > > > > > > > Can please suggest me is there any problem with spring boot and this > xml > > based configurations ? or do we need to take care something else as well > ?? > > > > > > I have tried number of ways to fix this but nothing works .. so I > > decided to ask you , sorry for trouble , hope I will get some suggestions > > here. > > > > > > Also I tried to subscribe for your groups but that failed. > > > > > > > > > Regards, > > > Mohit Sharma > > > > > > > > > > > > Sensitivity: Internal > > > > > > > > -- > > Claus Ibsen > > - > > http://davsclaus.com @davsclaus > > Camel in Action 2: https://www.manning.com/ibsen2 > > > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Jackson vulnerabilities CVE-2017-17485 & CVE-2018-7489

2018-04-16 Thread David Atkins
-2018-7489 Shall I raise a JIRA to address this (possible as two separate tickets to track both issues?) Thanks, David

Re: Camel exception handling

2017-11-07 Thread David Hoffer
.ib...@gmail.com> wrote: > You cannot do that, but you can track the failures handled attribute > in JMX which we be incremented when you handle that exception. > > > On Mon, Nov 6, 2017 at 8:22 PM, David Hoffer <dhoff...@gmail.com> wrote: > > I’m having trouble getting t

Camel exception handling

2017-11-06 Thread David Hoffer
I’m having trouble getting the exception behavior I’m looking for. What I expected this to do is when any exception is thrown it will cause this route to fail and not do any retries as the docs say that no onException retries is the default. However instead it retries forever as long as the

Re: How to remove message from ManagedRouteMBean

2017-09-26 Thread David Hoffer
(the ones that they > call) as your metrics, as the otherwise will not call any route. > > On Mon, Sep 25, 2017 at 11:44 PM, David Hoffer <dhoff...@gmail.com> wrote: > > We use Camel's JMX feature to report the overall stats/status of all the > > routes in our applicatio

How to remove message from ManagedRouteMBean

2017-09-25 Thread David Hoffer
We use Camel's JMX feature to report the overall stats/status of all the routes in our application (e.g. ManagedRouteMBean). However the routes often make heavy use of Camel's choice option where we have multiple when/simple options and then if no matches are found we use an otherwise/stop to

Re: XML validation with Camel (multiple XSDs)

2017-08-10 Thread David Karlsen
ace with xpath and use a content based router > to use Camel Validator with the correct schema file > - Build a validation bean with a schema map (namespace as key) and do the > validation in the bean > > Are there other/better/easier ways to implement this? > > Thanks > Stephan > > > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Bug using File endpoint probeContentType and preMove attributes together causes Exchange.FILE_CONTENT_TYPE to get dropped. (2.19.0)

2017-06-22 Thread David R. Hoffman
We have a route: from("file:inbox?=true=inprogress/${file:name}=true") .transacted() .bean(MimeTypeParser.class, "populateFileTypeHeaderFields") .to("seda:somewhere") The probeContentType executes before preMove & renameUsingCopy and correctly sets the

How to implement DataFormat

2017-04-28 Thread David Hoffer
We have several DataFormat implementations that handle a variety of compression algorithms. We use these as beans in routes to marshal/unmarshal. Here is an example unmarshal: where zip is our Zip DataFormat implementation bean. ${file:name} regex 'obs-.*\.zip'

RE: Issues running unit tests based on CamelTestSupport

2017-03-30 Thread KARR, DAVID
as seeing "4.12" and "4.8.1" and thinking that the latter was newer than the former. Duh. It's clear now that upgrading from 4.8.1 to 4.12 is the correct solution. > On Wed, Mar 29, 2017 at 11:24 PM, KARR, DAVID [via Camel] < > ml-node+s465427n5796720...@n5.nabble.com&g

RE: Issues running unit tests based on CamelTestSupport

2017-03-29 Thread KARR, DAVID
twatcher . > On Wed, Mar 29, 2017 at 10:27 PM, KARR, DAVID [via Camel] < > ml-node+s465427n5796717...@n5.nabble.com> wrote: > > > > -Original Message- > > > From: KARR, DAVID > > > Sent: Wednesday, March 29, 2017 12:47 PM > > >

RE: Issues running unit tests based on CamelTestSupport

2017-03-29 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, March 29, 2017 12:47 PM > To: users@camel.apache.org > Subject: RE: Issues running unit tests based on CamelTestSupport > > > -Original Message----- > > From: KARR, DAVID > > Sent

RE: Issues running unit tests based on CamelTestSupport

2017-03-29 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, March 29, 2017 12:07 PM > To: users@camel.apache.org > Subject: Issues running unit tests based on CamelTestSupport > > I have only used Camel peripherally before. I'm trying to get some unit > test

Issues running unit tests based on CamelTestSupport

2017-03-29 Thread KARR, DAVID
I have only used Camel peripherally before. I'm trying to get some unit tests working that are based on CamelTestSupport. When I run "mvn install" from the command line, the tests attempt to execute, but I get errors like this: --- [ERROR] Failed to execute goal

Re: Camel SFTP

2017-03-08 Thread David Hoffer
uck! > > Abraços, > Luis Felipe - Finx > > On Wed, Mar 8, 2017 at 4:59 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > > > There is camel-exec to call executables such as .exe files. > > http://camel.apache.org/exec > > > > You can also build your

Re: Camel SFTP

2017-03-07 Thread David Hoffer
, > Luis Felipe - Finx > > On Mon, Mar 6, 2017 at 12:40 AM, David Hoffer <dhoff...@gmail.com> wrote: > > > Thanks for the tip I did not know about this. I would think Camel would > > want to treat all passwords as raw...can never tolerate those changing. > > Once we

Re: Camel SFTP

2017-03-05 Thread David Hoffer
tp://camel.apache.org/how-do-i-configure-password- > options-on-camel-endpoints-without-the-value-being-encoded.html) > in the password. > > Abraços, > Luis Felipe - Finx > > On Fri, Mar 3, 2017 at 11:52 PM, David Hoffer <dhoff...@gmail.com> wrote: > > > W

Re: Camel SFTP

2017-03-03 Thread David Hoffer
.mylogger.level = debug > logger.mylogger.additivity = false > logger.mylogger.appenderRef.mylogger.ref = MYLOGGER > > Regards. > > On 03.03.2017 18:16, David Hoffer wrote: > > Is there a way to turn on low level logging so we can see why Camel is > failing to connect? We can connect to the sam

Re: Camel SFTP

2017-03-03 Thread David Hoffer
wrote: > Hello David, > > When I work with camel-sftp, The first thing I do is to manually connect > to the remote machine via ssh, so that my knownHosts > (System.getProperty(user.home)/.ssh/known_hosts) file is written. On > windows, I use cygwin for that. I assume you can do the sa

Camel SFTP

2017-03-03 Thread David Hoffer
How does Camel handle the SSH cert when connecting to SFTP servers? Somehow it has to accept the cert provided by the server how does it do that? The docs say the default is: strictHostKeyChecking=no What does this mean? Does this mean it will accept every cert? What does

Re: FTP/SFTP URI with literal \ path characters

2017-02-21 Thread David Hoffer
thats not on the table - it would complicate / confuse too > > much the code - as there is a fair amount of code that parses folder > > names with / and \ slashes and whatnot. > > > > You can fork the code and built your own extended ftp component or use > > some other

Re: FTP/SFTP URI with literal \ path characters

2017-02-21 Thread David Hoffer
; You can try setting the separator option on the ftp endpoint. > > Otherwise then .. you would be out of luck. Its maybe better to avoid > such "bad" folder names instead. > > On Tue, Feb 21, 2017 at 6:34 PM, David Hoffer <dhoff...@gmail.com> wrote: > > I'm t

FTP/SFTP URI with literal \ path characters

2017-02-21 Thread David Hoffer
I'm trying to connect to a Linux SFTP server that has a literal sub-folder name of \a\b\c. Where \ are literal backslash characters. Note, this subfolder is a child of the user's login folder and does not represent a root folder. Is there any way to configure Camel to treat the backslashes as

RE: Is the PDF of the manual going to be updated?

2016-10-21 Thread KARR, DAVID
umentation has little similarity to what's now on the HEAD of master? > On Fri, Oct 21, 2016 at 10:08 PM, KARR, DAVID <dk0...@att.com> wrote: > > I noticed that the documentation set includes a PDF of the manual up > to version 2.11, and after that only the HTML version is be

Is the PDF of the manual going to be updated?

2016-10-21 Thread KARR, DAVID
I noticed that the documentation set includes a PDF of the manual up to version 2.11, and after that only the HTML version is being produced. Is the PDF not going to be produced anymore?

RE: Clarify why lazy-loaded component mapping files are properties files that aren't labeled as such

2016-10-19 Thread KARR, DAVID
to configure Camel components / routes / endpoints etc you can do > that in many ways. For example using property placeholders which you can > read about here: > http://camel.apache.org/using-propertyplaceholder.html Uh, ok. None of that has anything to do with my question. > On M

Clarify why lazy-loaded component mapping files are properties files that aren't labeled as such

2016-10-17 Thread KARR, DAVID
I haven't really used Camel yet, I'm just reading the manual to familiarize myself with it, as some projects I'll be working with use it. I noticed that the way you define the lazy-loaded mappings for components uses properties files that aren't labeled as properties files. For instance, to

RE: Reference to a version "3.0.1" in metrics doc, and classloader leaks

2016-10-05 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, October 05, 2016 8:36 AM > To: users@camel.apache.org > Subject: RE: Reference to a version "3.0.1" in metrics doc, and > classloader leaks > > > -Original Message- > > From:

RE: Reference to a version "3.0.1" in metrics doc, and classloader leaks

2016-10-05 Thread KARR, DAVID
> -Original Message- > From: KARR, DAVID > Sent: Wednesday, October 05, 2016 8:14 AM > To: users@camel.apache.org > Subject: Reference to a version "3.0.1" in metrics doc, and classloader > leaks > > I noticed on http://camel.apache.org/metrics-c

Reference to a version "3.0.1" in metrics doc, and classloader leaks

2016-10-05 Thread KARR, DAVID
I noticed on http://camel.apache.org/metrics-component.html the following text: MetricRegistry uses internal thread(s) for reporting. There is no public API in version 3.0.1 for users to clean up on exit. Thus using Camel Metrics Component leads to Java classloader leak and my

XSLT URI with network share

2016-09-30 Thread David Hoffer
I have a Camel xslt uri defined as: which works fine if {{gangplank.home}} is a local path. However now gangplank.home points to a network share so it looks something like \\jmsshares\Utility\gangplank Now camel fails to resolve with: INFO|5848/0|Service Gangplank Server|16-09-30

Re: Need input on accessing http servlet

2016-09-23 Thread David Parker
As a work-around, you might create a class that invokes a HTTPClient or other URL-friendly utility. Invoke that logic in your route to retrieve data and then process it. On Fri, Sep 23, 2016 at 3:08 AM, jpeschke wrote: > Hi, > You cannot use the Servlet component to connect

JAXB: Marshal class containing String containing XML

2016-08-18 Thread David Sharpe
ttp://stackoverflow.com/questions/5537416/using-jaxb-to-extract-inner-text-of-xml-element/5553682#5553682), but I'm emailing you to find out if any Camel users have dealt with this issue before, and whether you found a good Camel solution. Regards, David

Referring to non-existent enum in simple expression results in null instead of error

2016-07-27 Thread David Sharpe
r something like that. Is there some way I can enforce that the enum value must exist? I've added a null check to my bean, but I'm surprised it's necessary. Does this sound like a bug? Regards, David

How to dynamically change/redirect choice/when option?

2016-07-26 Thread David Hoffer
We have several file routes that have several 'when' clauses in a 'choice' element (XML config). I need a way to let the user disable some of the 'when' options at runtime. Each 'when' clause currently just has a 'to' file URI. Note I can't just stop the route that picks up the file at the

Suggestions on how to cluster Camel?

2016-07-22 Thread David Hoffer
We have a standalone Camel app (runs as daemon with no container) that we need to cluster and I'm looking for options on how to do this. Our Camel app handles file routing. All inputs are files so exchanges deal with byte arrays and the file name. Destinations are either file folders or

Re: How to retain exchange headers through RecipientList destination

2016-07-12 Thread David Hoffer
, that was just to satisfy Camel. What we really want is the file logic in backupProcessor but it has to know about the Camel headers/metadata somehow. http://camel.apache.org/schema/spring;> On Mon, Jul 11, 2016 at 2:05 PM, David Hoffer <dhoff...@gmail.com> wrote: &

Re: How to retain exchange headers through RoutingSlip

2016-07-11 Thread David Hoffer
ip and show > some code of a route that starts from a file, and without any routing > slip. > > Also see this FAQ > > http://camel.apache.org/why-do-my-message-lose-its-headers-during-routing.html > > On Sun, Oct 4, 2015 at 4:20 PM, David Hoffer <dhoff...@gmail.com> wro

Re: Single thread for same message group

2016-05-26 Thread David Karlsen
Maybe use an aggregator so you can assemble the total of messages. Or a resequencer. See the camel site for docs 26. mai 2016 3:07 p.m. skrev "NikheelRanjan" : > I am using camel's jms component and ibm based queues. > Problem statement: Each message is coming with some

Re: Upgrade from 2.13.2 to 2.15.x has JMX bugs

2016-05-18 Thread David Hoffer
the route or camel context mbeans. > > There is plenty of details maybe try using a jconsole or something and > browse the jmx tree and see what you can find. > > On Tue, May 17, 2016 at 7:51 PM, David Hoffer <dhoff...@gmail.com> wrote: > > I see the problem. In 2.15.x the con

Re: Upgrade from 2.13.2 to 2.15.x has JMX bugs

2016-05-17 Thread David Hoffer
Dave On Tue, May 17, 2016 at 8:30 AM, David Hoffer <dhoff...@gmail.com> wrote: > As an example in the prior version the getDescription() method would > return something like: > > EventDrivenConsumerRoute[Endpoint[file://C:/JMS/gangplank/work/guard_ACK/?delay=1000=true=%23partialF

Re: Upgrade from 2.13.2 to 2.15.x has JMX bugs

2016-05-17 Thread David Hoffer
ttp://0.0.0.0:80/ackStarguard/${file:onlyname}?proxyHost=0.0.0.0=80]]] ]] In version 2.15.x it just returns null. How can I fix this? -Dave On Mon, May 16, 2016 at 3:29 PM, David Hoffer <dhoff...@gmail.com> wrote: > I'm upgrading an app from Camel 2.13.2 to 2.15.6 that uses Camel's J

Upgrade from 2.13.2 to 2.15.x has JMX bugs

2016-05-16 Thread David Hoffer
I'm upgrading an app from Camel 2.13.2 to 2.15.6 that uses Camel's JMX support. Specifically we query for the various routes and leverage several of the operations. The problem is the getDescription() operation now always returns null. I have tried several of the 2.15.x versions and they all

RE: camel-spring-boot + @UseAdviceWith

2016-04-15 Thread David Bennison
eff Segal <jeffrey.se...@gmail.com> > wrote: > > I may be in the same boat. May I ask - did you rip out Spring Boot > entirely > > or just use vanilla camel-spring + Spring Boot? I'm hoping just the > latter. > > > > On Fri, Apr 15, 2016 at 2:29 AM, David Benni

RE: camel-spring-boot + @UseAdviceWith

2016-04-15 Thread David Bennison
think that others would be in the same boat if they want to apply integration tests to their routes while using camel-spring-boot. Jeff On Thu, Apr 14, 2016 at 5:16 AM, David Bennison <david.benni...@metapack.com > wrote: > Our problem looks similar to this one with @MockEndpoints raised back in

RE: camel-spring-boot + @UseAdviceWith

2016-04-14 Thread David Bennison
Our problem looks similar to this one with @MockEndpoints raised back in 2015 against Camel 2.16.0. http://grokbase.com/t/camel/users/15bgwdeftt/spring-boot-test-mocks The reason given by Joakim Bjørnstad appears to explain what we are experiencing. The last comment on

RE: camel-spring-boot + @UseAdviceWith

2016-04-14 Thread David Bennison
Hi, Have you got any further with this? I am suffering from the same problem. From: Jeff Segal Sent: 12 April 2016 16:46 To: users@camel.apache.org Subject: camel-spring-boot + @UseAdviceWith All, I'm currently creating a

Re: Camel JMS, what is a "task" in maxMessagesPerTask?

2016-03-27 Thread David Karlsen
t; > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-JMS-what-is-a-task-in-maxMessagesPerTask-tp5779819p5779822.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Re: Can't shut down due to inflight and pending exchanges

2016-02-26 Thread David Hoffer
> > http://camel.apache.org/graceful-shutdown.html > > On 26 February 2016 at 14:20, David Hoffer <dhoff...@gmail.com> wrote: > > > I found a doc that says I can add the following to my camel context. I > > tried it and it worked but then took it out and it still works so this &

Re: Can't shut down due to inflight and pending exchanges

2016-02-26 Thread David Hoffer
How do I inject the defaultShutdownStrategy bean into the camelContext? On Fri, Feb 26, 2016 at 1:20 PM, David Hoffer <dhoff...@gmail.com> wrote: > I found a doc that says I can add the following to my camel context. I > tried it and it worked but then took it out and it st

Re: Can't shut down due to inflight and pending exchanges

2016-02-26 Thread David Hoffer
I had a lot of problems like that. > > You could also configure your own DefaultShutdownStrategy and set a smaller > timeout. For example: > > class="org.apache.camel.impl.DefaultShutdownStrategy"> > > > > > > > On 26 February 2016 at 13:55, David Hoffer

Can't shut down due to inflight and pending exchanges

2016-02-26 Thread David Hoffer
For some reason we are getting the following message from the DefaultShutdownStrategy "Waiting as there are still 1 inflight and pending exchanges to complete, timeout in 300 seconds." Which causes our app to not shut down for 5 minutes. This is happening although there was no work for the app

Re: Reading an EBCDIC file from Apache Camel

2016-02-14 Thread David Karlsen
No - not aware of any camel components. It should however be easy to create some. 2016-02-15 4:33 GMT+01:00 sandeepkolla99 <deep.ko...@gmail.com>: > David, > > Thanks for your response. Do we have any camel component to do this. or Can > we integrate legstart with Apache Ca

Re: Reading an EBCDIC file from Apache Camel

2016-02-13 Thread David Karlsen
sage in context: > http://camel.465427.n5.nabble.com/Reading-an-EBCDIC-file-from-Apache-Camel-tp5777676.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Re: Custom sorting using the file component

2016-01-28 Thread David Hoffer
wn sorter, see the sorter option > http://camel.apache.org/file2 > > On Thu, Jan 28, 2016 at 7:17 AM, David Hoffer <dhoff...@gmail.com> wrote: > > I have a route that receives several different file types and the names > > vary too but always contain a timestamp. I need to pro

Custom sorting using the file component

2016-01-27 Thread David Hoffer
I have a route that receives several different file types and the names vary too but always contain a timestamp. I need to process these in timestamp order and planned to use sortBy=file:name, this worked fine in testing but now that we are closer to production we are finding that the file names

Re: Camel ThreadPool maxQueueSize question

2015-11-23 Thread David Hoffer
On Sun, Nov 22, 2015 at 1:33 AM, Claus Ibsen <claus.ib...@gmail.com> wrote: > On Sun, Nov 22, 2015 at 3:29 AM, David Hoffer <dhoff...@gmail.com> wrote: > > I'm not sure how to block the polling. > > > > Here is what seems like an ideal approach...the SFTP poll

Re: Camel ThreadPool maxQueueSize question

2015-11-21 Thread David Hoffer
ected policy to > decide what to do if there is no free threads, such as reject or use > current thread etc. > > On Fri, Nov 20, 2015 at 11:09 PM, David Hoffer <dhoff...@gmail.com> wrote: > > This part I'm not clear on and it raises more questions. > > > > When using

Re: Camel ThreadPool maxQueueSize question

2015-11-21 Thread David Hoffer
t; > and this works without any problems. > > Maybe you have to many sftp connections? Maybe its entirely independent > from camel and you reached a file handle limit? > > Jens > > > Von meinem iPhone gesendet > > > Am 20.11.2015 um 23:09 schrieb David Hoffer <dhof

Re: Camel ThreadPool maxQueueSize question

2015-11-21 Thread David Hoffer
Jens > > Von meinem iPhone gesendet > > > Am 21.11.2015 um 16:40 schrieb David Hoffer <dhoff...@gmail.com>: > > > > Yes when the sftp read thread stops it was still processing files it had > > previously downloaded. And since we can get so many files on each p

Re: Camel ThreadPool maxQueueSize question

2015-11-21 Thread David Hoffer
file? How many message are queued in camel? > Otherwise only a profiler can tell you whats going on... > > Jens > > Von meinem iPhone gesendet > > > Am 21.11.2015 um 16:32 schrieb David Hoffer <dhoff...@gmail.com>: > > > > I have more information on m

Re: How to configure threadPoolProfile?

2015-11-20 Thread David Hoffer
o > validate the XML for you. > > On Fri, Nov 20, 2015 at 1:22 AM, David Hoffer <dhoff...@gmail.com> wrote: > > I'm trying to change the default thread pool using the following but then > > my app won't start it says the XML is invalid at the routeContextRef line >

Re: GenericFileExclusiveReadLockStrategy#prepareOnStartup() question

2015-11-20 Thread David Hoffer
hen yeah its a new route/consumer and it will be called again. > > On Fri, Nov 20, 2015 at 12:49 AM, David Hoffer <dhoff...@gmail.com> wrote: > > What is the lifecycle of > > the GenericFileExclusiveReadLockStrategy#prepareOnStartup() method. I'm > > assuming that i

Re: Camel ThreadPool maxQueueSize question

2015-11-20 Thread David Hoffer
t; Or the Camel in Action books > > > On Fri, Nov 20, 2015 at 12:22 AM, David Hoffer <dhoff...@gmail.com> wrote: > > I'm trying to understand the default Camel Thread Pool and how the > > maxQueueSize is used, or more precisely what's it for? > > > > I can

  1   2   3   4   >