Re: CAMEL-FTPS FileZilla Server Session of data connection not resumed

2022-05-03 Thread Claus Ibsen
t > version) > > https://camel.apache.org/components/3.16.x/ftps-component.html (latest > version) > > > Any thoughts? > > > Thanks in advance. > > > Tomas -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: path parameter from Camel HTTP endpoints

2022-04-29 Thread Claus Ibsen
st regards. > > > > *Jozef Bouda* > Junior Java Developer > > *Principal engineering s.r.o.* > *Office*: Na hřebenech II 1718/8, Praha 4 > *Mobil*: +420 771 253 806 > *Email*: *jozef.bo...@principal.cz* > *Web*: *www.principal.cz* <http://www.principal.cz/> > > > > > > > -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: How to create route template in yaml

2022-04-28 Thread Claus Ibsen
from)>; value=1131400704 })> > at > org.apache.camel.dsl.yaml.common.YamlSupport.creteEndpointUri(YamlSupport.java:284) > at > org.apache.camel.dsl.yaml.common.YamlSupport.creteEndpoint(YamlSupport.java:296) > at > org.apache.camel.dsl.yaml.deserializers.Endp

Re: Internal logging of routes

2022-04-19 Thread Claus Ibsen
etc and the definitions of each (eg: to(where), > body(? what addtl parameters) etc). > > Note that a route.toString() is not ideal in this situation. > -- > --- > Craig Taylor > ctalk...@ctalkobt.net -- Claus Ibsen -

Re: Kamel and Kamelets

2022-04-16 Thread Claus Ibsen
within kamel routes > if not > 2) Is it possible to use process(..) code and yaml? Perhaps simple Beans? > > Thanks for your help > Michael -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Camel-ftp / quartz scheduler

2022-04-14 Thread Claus Ibsen
DynamicImport-Package. Add a line > org.apache.camel.pollconsumer.quartz;version="[3,4)"” in > https://stackoverflow.com/questions/59375621/camel-3-in-osgi-no-load-scheduledpollconsumerscheduler. > > Br > > Jp > > > Lähettäjä: Claus Ibsen > Päivämäärä: torstaina, 14.

Re: Camel-ftp / quartz scheduler

2022-04-14 Thread Claus Ibsen
3.11.3, Karaf 4.3.3. I’m using blueprint xml. > > Camel-quartz itself works fine for a number of scheduled jobs: > > … > > Br > > Jp > > > -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: JSONPath use own ObjectMapper instead of global

2022-04-12 Thread Claus Ibsen
l / reifier so you need to do code changes there too. > > > > /M > > > --- Original Message --- > On Wednesday, April 13th, 2022 at 06:44, Claus Ibsen > wrote: > > > > Hi > > > > Ah okay that sounds like a good improvement. You are w

Re: JSONPath use own ObjectMapper instead of global

2022-04-12 Thread Claus Ibsen
using json as Dataformat we can register a global Objectmapper and use > that but when using JSONPath it is not implemented. > > My Camel version is 3.14.1 > > /M -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: DropBox expired_token

2022-04-11 Thread Claus Ibsen
ne” access)", > we offer a long-lived refresh_token that can be used to request a new, > short-lived access token. > > I think there must be an adjustment in the API Camel is using. > Yeah you are right, and welcome to create a JIRA ticket about this > Reto > > -

Re: Using the RoutesLoader

2022-04-11 Thread Claus Ibsen
t; > > > > > In Camel 2 you could load routes directly from string like this: > > > > > > ManagedCamelContext managed = > > > context.getExtension(ManagedCamelContext.class); > > > managedContext = managed.getManagedCamelContext(); > > > managedContext.addOrUpdateRoutesFromXml(routeAsString); > > > > > > In Camel 3 the "addOrUpdateRoutesFromXml" is depracated. With routeLoader > > > from string I do it like this: > > > > > > ExtendedCamelContext extendedCamelContext = > > > context.adapt(ExtendedCamelContext.class); > > > RoutesLoader loader = extendedCamelContext.getRoutesLoader(); > > > Resource resource = ResourceHelper.fromString("any.xml", route); > > > > > > loader.updateRoutes(resource); > > > > > > Is this the only way in Camel 3, or is there also a specific method to > > use > > > strings directly (and maybe only specify the DSL used) like: > > > > > > loader.updateRoutes(routeAsString, "xml"); > > > > > > > > > Raymond > > -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Camel sql component with classpath script

2022-04-11 Thread Claus Ibsen
e. > > Is it a known issue on the sql component ? > > Thanks for your help. > > Regards. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: DropBox expired_token

2022-04-11 Thread Claus Ibsen
file ${file:name} to DropBox > CellularEDI") >.setHeader(DropboxConstants.HEADER_PUT_FILE_NAME, > simple("${file:name}")) >.to("dropbox://put?accessToken={{dropbox.accessToken}}" > + "={{drobbox.clientIdentifier}}" >

Re: kamel run with --name in camel-case converting to kebab-case

2022-04-07 Thread Claus Ibsen
ization > > > My question is, is it a Camel-K behavior or a k8s behavior? -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-04-05 Thread Claus Ibsen
Hi Yeah lets add this to the docs https://issues.apache.org/jira/browse/CAMEL-17903 On Tue, Mar 29, 2022 at 11:18 AM Minh Tran wrote: > > This workaround does the job. Thank you Claus. > > On Mon, 28 Mar 2022 at 23:16, Claus Ibsen wrote: > > > It is a plugin to assist

Re: Doubts on how to use jacksonxml as xmlDataFormat for bindingMode.auto in camel 3.3.0

2022-04-05 Thread Claus Ibsen
Hi You need to set the xmlDataFormat to jacksonXml as the default is jaxb https://camel.apache.org/manual/rest-dsl.html#_camel_rest_dsl_configurations On Tue, Apr 5, 2022 at 7:30 AM Claus Ibsen wrote: > > Hi > > We do not support old camel versions. Try with the latest release

Re: JdbcAggregationRepository is not permanently?

2022-04-05 Thread Claus Ibsen
he.camel.processor.aggregate.jdbc.JdbcAggregationRepository"> > > > > > > > > > doctype > messageID > interchangeID > > > > > class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> > > > > My environment: > Camel 3.16.0 > Java 11 > SpringBoot 2.6.4 > MySQL 8.x > > -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Doubts on how to use jacksonxml as xmlDataFormat for bindingMode.auto in camel 3.3.0

2022-04-04 Thread Claus Ibsen
is appreciated. Thanks in advance > > I would expect to be able to use jacksonxml as xmlDataFormat since all the > annotations I have in the pojos are from > com.fasterxml.jackson.dataformat.xml.annotation -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Re: Manage health checks at runtime

2022-03-30 Thread Claus Ibsen
t; planed, yet? Maybe 3.17.0? > > Regards, > Benjamin > > > Gesendet: Dienstag, 29. März 2022 um 21:56 Uhr > Von: "Claus Ibsen" > An: users@camel.apache.org > Betreff: Re: Manage health checks at runtime > Hi > > Health checks can be

Re: Manage health checks at runtime

2022-03-29 Thread Claus Ibsen
specific items at runtime. As I can see it's only possible to > enable/disable the complete repository itself and the HealthCheck once > computed seems not reconfigurable any more. > > Maybe worth for an enhancement? > > Regards > > Benjamin > -- Claus Ibsen -

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Claus Ibsen
sses twice. > > Wouldn't the simplest solution be to fix the plugin to allow generating the > source during the generate-sources phase? > > On Mon, 28 Mar 2022 at 21:42, Claus Ibsen wrote: > > > Yes it is. > > > > You need to run the camel plugin in its ow

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Claus Ibsen
; mvn test -> second attempt without the clean will pass > > On Mon, 28 Mar 2022 at 19:32, Claus Ibsen wrote: > > > Hi > > > > Its a chicken and egg situation. Therefore its best to use the plugin > > to generate the source code ahead of time, eg in src/gen

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Claus Ibsen
Hi Its a chicken and egg situation. Therefore its best to use the plugin to generate the source code ahead of time, eg in src/generated or directly into the source folder - as shown in the doc page. On Mon, Mar 28, 2022 at 10:24 AM Minh Tran wrote: > > On Mon, 28 Mar 2022 at 18:14, Claus

Re: camel-component-maven-plugin not hooked to the correct maven phase

2022-03-28 Thread Claus Ibsen
unit tests that rely on it, the build will fail. If you don't have > unit tests, then you end up with a jar missing the autogenerated class in > it. > > I am using Camel 3.15.0 and JDK 11 -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: CamelSqlGeneratedKeyRows is not updated

2022-03-23 Thread Claus Ibsen
; } And before executing the SQL INSERT in the route: > .bean(setFilesFromPartnerKeyColumnsBean) > But there was no effect, same results > > MY workaround is with the "SELECT LAST_INSERT_ID()" which works but of course > not the way we should ... > > Regards Reto -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Issue with Camel SFTP localworkdirectory with multicast

2022-03-23 Thread Claus Ibsen
Exception: /tmp/file100MB_multicast_22Mar.csv > (No such file or directory) > at java.io.FileInputStream.open0(Native Method) ~[na:1.8.0_312] > at java.io.FileInputStream.open(FileInputStream.java:195) > ~[na:1.8.0_312] > at java.io.FileInputStream.(FileInputS

Re: Can I expose 2 tcp ports in the same integration?

2022-03-21 Thread Claus Ibsen
s automatically created and just > based on the camel http component, right? > > Is it possible to create/expose 2 or more tcp/http ports automatically > in the k8s service (like using camel-http and camel-netty) ? -- Claus Ibsen - http://davsclaus.com @davscla

Re: Integration keeps reconciling build, why?

2022-03-21 Thread Claus Ibsen
uot;) > .get("/say").to("direct:bye"); > > from("direct:hello") > .transform().constant("Hello World"); > > from("direct:bye") > .transform().constant("Bye World"); > } > > } > > And this is the operator logs: > > https://pastebin.com/crYvtzqf -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Some Camel 3 release stats

2022-03-19 Thread Claus Ibsen
1 and 3.4.2 have the same release date ( > https://camel.apache.org/releases/). > 3. The release page is ordered by date (not by release, as some may expect) > 4. The release date is only on the overview page ( > https://camel.apache.org/releases/), not on the release page self. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Some Camel 3 release stats

2022-03-18 Thread Claus Ibsen
ttps://camel.apache.org/releases/release-3.4.0/ > > 2. Release 3.4.1 and 3.4.2 have the same release date ( > https://camel.apache.org/releases/). > 3. The release page is ordered by date (not by release, as some may expect) > 4. The release date is only on the overview page ( > https://camel.apache.org/releases/), not on the release page self. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Isolate integrations network

2022-03-16 Thread Claus Ibsen
st a rest route in the integration B ? -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Camel-josql version copatible to Apache camel 3

2022-03-15 Thread Claus Ibsen
o added stackover flow question long time back on same. > https://stackoverflow.com/questions/61924625/camel-josql-support-for-camel-3 > > > Thanks, > Minal -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Jdbc Aggregation and K8s

2022-03-10 Thread Claus Ibsen
.apache.camel.processor.aggregate.AggregateProcessor.doStart(AggregateProcessor.java:1572) > at > org.apache.camel.support.service.BaseService.start(BaseService.java:119) > at > org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113) > at > org.apache.camel.support.service.ServiceHelper.startSer

Re: Camel fails to rename/delete the source file

2022-03-07 Thread Claus Ibsen
just the file content? > Sorry, I am a Camel beginner. > > Regards Reto > > -Original Message- > From: Claus Ibsen > Sent: Monday, March 7, 2022 4:41 PM > To: users@camel.apache.org > Subject: Re: Camel fails to rename/delete the source file > > Hi > &

Re: Camel fails to rename/delete the source file

2022-03-07 Thread Claus Ibsen
ent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) > [?:?] > >at java.lang.Thread.run(Thread.java:832) [?:?] > > Caused by: java.io.IOException: Renaming file from > 'C:\data\MediaMarkt\ORDERS\in\ORDERS > 000397700717-000397700717.2802b732-98b2-11ec-99b2-8e02ac1b4884.edi' to > 'C:\data\MediaMarkt\ORDERS\in\.camel\ORDERS > 000397700717-000397700717.2802b732-98b2-11ec-99b2-8e02ac1b4884.edi' failed: > Cannot delete file 'C:\data\MediaMarkt\ORDERS\in\ORDERS > 000397700717-000397700717.2802b732-98b2-11ec-99b2-8e02ac1b4884.edi' after > copy succeeded > >at > org.apache.camel.util.FileUtil.renameFileUsingCopy(FileUtil.java:464) > ~[camel-util-3.15.0.jar:3.15.0] > >at org.apache.camel.util.FileUtil.renameFile(FileUtil.java:436) > ~[camel-util-3.15.0.jar:3.15.0] > >at > org.apache.camel.component.file.FileOperations.renameFile(FileOperations.java:90) > ~[camel-file-3.15.0.jar:3.15.0] > >... 28 more > > -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Question : Whether the camel-snmp 3.14.1 support consuming snmpv3 trap

2022-03-01 Thread Claus Ibsen
gt; or privacy. > Anyone can help to clarify, > > It will be appreciated. Thanks! > > > Best Regards! > Zhang Bo-wu (Bowyer) > Engineer of CMS R China > Mail: bo-wu.zh...@hpe.com<mailto:bo-wu.zh...@hpe.com> > Mobile Phone: (86)13986295819 > Fixed Phon

Re: camel-jetty and access log

2022-02-25 Thread Claus Ibsen
#howto-configure-accesslogs> > (and also > https://howtodoinjava.com/spring-boot2/logging/embedded-server-logging-config/ > ) > > > How do we get access logs for Camel REST APIs when using camel-jetty, i.e. > > > org.apache.camel > camel-jetty > > BR >

Re: sharing exchange properties in mutlicast route

2022-02-25 Thread Claus Ibsen
now how can i achieve this? > > > > > > > > > > > > > > > > > hello > > > > > > > > > -- > Regards, > Rohan Emmanuel -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: A change in the website search - looking for feedback

2022-02-24 Thread Claus Ibsen
those feel free to contact me and I can arrange > access (probably restrict to comitters at first). > > zoran > > [1] https://github.com/apache/camel-website/pull/724 > -- > Zoran Regvart -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: JMX Configuration spring boot camel 3.*

2022-02-20 Thread Claus Ibsen
be made secure and easier to work with, and for network firewalls and whatnot. On Sun, Feb 20, 2022 at 9:50 PM Claus Ibsen wrote: > > Hi > > If you want to keep using JMX then you can use jolokia that can bridge > over HTTP which can be made a more secure transport > https://jo

Re: JMX Configuration spring boot camel 3.*

2022-02-20 Thread Claus Ibsen
. But there are many ways to monitor Java applications. On Sun, Feb 20, 2022 at 9:11 PM Thomas Wood wrote: > > Thank you sir! this is enough info to show to my directors to look for a > better way of monitoring our camel clients. > > > On Sun, Feb 20, 2022 at 7:03 AM Claus Ibsen wrote: > >

Re: JMX Configuration spring boot camel 3.*

2022-02-20 Thread Claus Ibsen
Ah, I didn't see your last comment about SSL and port. If you refer to JMX RMI over TCP then that is removed - it's a security issue with JMX. Do not use remote JMX management. On Sun, Feb 20, 2022 at 1:01 PM Claus Ibsen wrote: > > Hi > > What do you want to configure? > >

Re: JMX Configuration spring boot camel 3.*

2022-02-20 Thread Claus Ibsen
igure out how to configure jmx > properly. > The new jmxagent doesnt seems to support the same properties as the 2.* > versions. > Is the an example of how to define such things as ports and ssl? > > Thanks! -- Claus Ibsen - http://davsclaus.com @davscla

Re: JPA consumer logging

2022-02-20 Thread Claus Ibsen
erValue > ... > Caused by: java.lang.IllegalArgumentException: Can not set int field > dummy.MyEntity.myOtherValue to null value > > Regards, > Calle > > > Från: Claus Ibsen > Skickat: onsdag 16 februari 2022 14:58 > Till: users@cam

Re: Rethrowing Exceptions - Camel 3.14.1

2022-02-20 Thread Claus Ibsen
nauthorized persons. We ask you to delete the message from > your system and to contact us. > > Intern I Internal > <https://www.spar-ics.com/> > > Dipl. Ing. Christian Müller > Software Engineer > Business Automation & Integration > *Mobile:* +43 664 887481

Re: Is it possible to use yaml-dsl in Spring Boot camel?

2022-02-16 Thread Claus Ibsen
ing boot, yet I could not find any examples. Any > help would be appreciated. Thanks! -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: cancel a redelivery

2022-02-16 Thread Claus Ibsen
> exchange.setRouteStop(true); > return; > } > } > logger.debug("Redelivery will take place as flow is not canceled"); > } > > I thought setting an exception and calling setRouteStop would be > en

Re: AS2 using HTTPS

2022-02-16 Thread Claus Ibsen
es. It works just fine. > However, I wanted to be able to use HTTPS instead of HTTP but I can’t figure > out how to do it. Does the component even support HTTPS? What options do I > have here? > > Best regards, > Carlos -- Claus Ibsen - http://davsclaus.com @davs

Re: Apache Camel, SpringBoot application in PCF results with message failures

2022-02-16 Thread Claus Ibsen
s total processing time for millions of records. > > Could you please let me know, how to use Apache Camel with containers like > PCF? any additional configurations we need to have in PCF or Camel ? > > > > Thanks & Regards > Praveen KG -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: JPA consumer logging

2022-02-16 Thread Claus Ibsen
meDelete(false) > .query(QUERY) > .delay(30)) > .transacted() > // … > > Some JPA component configuration is also made in jboss-camel-context.xml: > > > > > > Regards, > Calle -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Seda doesn't appear to be locking when queue is full

2022-02-16 Thread Claus Ibsen
as @Bean SedaComponent seda(CamelContext context) { SedaComponent seda = context.getComponent("seda", SedaComponent.class); seda.setDefaultBlockWhenFull(true); return seda; } Or set this in the application.properties where you can configure this too On Wed, Feb 16, 2022 at 2:43 P

Re: Seda doesn't appear to be locking when queue is full

2022-02-16 Thread Claus Ibsen
full > > at java.util.AbstractQueue.add(AbstractQueue.java:98) ~[na:1.8.0_312] > > at > > org.apache.camel.component.seda.SedaProducer.addToQueue(SedaProducer.java:251) > > ~[camel-seda-3.14.1.jar:3.14.1] > > at > > org.apache.camel.component.seda.SedaProducer.process(SedaProducer.java:149) > > ~[camel-seda-3.14.1.jar:3.14.1] > > > > Thanks, > -- > --- > Craig Taylor > ctalk...@ctalkobt.net -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Bloker kafka sftp connector

2022-02-16 Thread Claus Ibsen
ed this email in error please notify the sender immediately and > >> permanently delete all copies of this email and its attachments from your > >> system. Any unauthorised use, copying, distribution, or disclosure of this > >> email and its attachments is prohibited; to the fullest extent permitted > >> by law Dark Securities LTD does not accept any liability or responsibility > >> with respect to any action taken by you in reliance on the contents of > >> this email and its attachments. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Does Camel support hot migration of routes?

2022-02-16 Thread Claus Ibsen
at 12:52 PM hehehe <4692334...@gmail.com> wrote: > > Hello guys, > > Is there way to make snapshot of a running route, so that it can be suspend > on one machine, then resume on another machine? > > Thanks. -- Claus Ibsen - http://davsclaus.com @davscla

Re: Camel-Saga, how to get exception detail that trigger compensation

2022-02-11 Thread Claus Ibsen
?payment=100;) > > from("direct:cancelOrder") > .to("http://localhost:8000/cancelOrder?orderid=100;) > .to("direct:notification") > > from(" direct:notification ") > .process(e->{ > // get the exception detail if transaction failed

Re: ThreadLocal org.apache.camel.impl.engine.DefaultReactiveExecutor.Worker

2022-02-02 Thread Claus Ibsen
or have received this e-mail in error) please > notify the sender immediately and destroy this e-mail. Any unauthorised > copying, disclosure or distribution of the material in this e-mail is > strictly forbidden. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Debezium, Camel 3.14.x and TypeConverter - in a Camel-Main app

2022-01-29 Thread Claus Ibsen
Hi I created a ticket https://issues.apache.org/jira/browse/CAMEL-17567 On Sat, Jan 29, 2022 at 7:09 PM Claus Ibsen wrote: > > On Fri, Jan 28, 2022 at 10:36 PM Chirag wrote: > > > > Yes and it worked successfully. I could not get the original method to &

Re: Debezium, Camel 3.14.x and TypeConverter - in a Camel-Main app

2022-01-29 Thread Claus Ibsen
-- > Sent from My Gmail Account > > On Fri, Jan 28, 2022 at 4:18 AM Claus Ibsen wrote: > > > > On Thu, Jan 27, 2022 at 8:36 PM Chirag wrote: > > > > > > I stumbled upon :) > > > > > > https://camel.apache.org/components/3

Re: Debezium, Camel 3.14.x and TypeConverter - in a Camel-Main app

2022-01-28 Thread Claus Ibsen
> > > It doesn't seem to be helping. > > Let me do some digging. > > > > ચિરાગ/चिराग/Chirag > > ------ > > Sent from My Gmail Account > > > > On Thu, Jan 27, 2022 at 3:16 AM Claus Ibsen wrote: > > >

Re: Debezium, Camel 3.14.x and TypeConverter - in a Camel-Main app

2022-01-27 Thread Claus Ibsen
cessor.ConvertBodyProcessor.proce > > Question: > 1. Does Camel-Main support Annotation and the ability to register > TypeConverter automatically? > 2. I see a slightly different way of defining TypeConverter > https://github.com/debezium/debezium-examples/blob/main/camel-compon

Re: Debezium Component

2022-01-25 Thread Claus Ibsen
> Should we fix documentation and tests to use databaseHistoryFileFileName? > > ચિરાગ/चिराग/Chirag > ------ > Sent from My Gmail Account -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: CamelJms Request Reply QueueReplyManager is coupled with DefaultMessageListenerContainer

2022-01-24 Thread Claus Ibsen
Hi I have implemented so you can configure to use simple - however they have less configurations and we only configure the ones that the listener supports. On Mon, Jan 24, 2022 at 2:02 PM Claus Ibsen wrote: > > Hi > > One reason is > https://issues.apache.org/jira/browse/CAMEL-3

Re: CamelJms Request Reply QueueReplyManager is coupled with DefaultMessageListenerContainer

2022-01-24 Thread Claus Ibsen
ner. > CamelJMS allows consumerType for JMS consumer to be Simple/Default/Custom. > Why was it decided to use DefaultMessageListenerContainer for > QueueReplyManager? Can we give a consumerType choice for this pattern too ? > > Thanks, > Ashutosh -- Claus Ibsen -

Re: Re: Re: Square brackets in query param

2022-01-21 Thread Claus Ibsen
If I have to upgrade then which version from > maven repo should I use ? > > Thanks, > > > > On 2022/01/20 19:04:26 Claus Ibsen wrote: > > Hi > > > > You can use a header with name CamelHttpQuery where you put the query > > parameters > > and the

Re: Re: Square brackets in query param

2022-01-20 Thread Claus Ibsen
; > > > > > > > > This e-mail transmission may contain information that is proprietary, > > > > privileged and/or confidential and is intended exclusively for the > > > > person(s) to whom it is addressed. Any use, copying, retention or > > > > di

Re: Camel 3.7.8 ? (with latest log4j2 2.17.1 fix)

2022-01-20 Thread Claus Ibsen
.de> > > Sollten Sie nicht der richtige Empf?nger dieser E-Mail sein, l?schen Sie > diese bitte. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Running Camel Main from Eclipse

2022-01-19 Thread Claus Ibsen
eEndpoint(SendReifier.java:43) > at org.apache.camel.reifier.SendReifier.createProcessor(SendReifier.java:36) > at > org.apache.camel.reifier.ProcessorReifier.makeProcessor(ProcessorReifier.java:838) > at > org.apache.camel.reifier.ProcessorReifier.addRoutes(ProcessorReifier.java:579) > at org.apache.camel.reifier.RouteReifier.doCreateRoute(RouteReifier.java:236) > ... 14 more > Best Regards /Peter -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Generated paths in camel-open-api-java 3.14.0

2022-01-19 Thread Claus Ibsen
07 NH Zeist, > the Netherlands, > www.civity.nl, > b...@civity.nl. -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: camel-DNS / Camel 3.11.5 / should import org.slf4j* optional

2022-01-18 Thread Claus Ibsen
config;uses:=org.xbill.DNS;version=3.3.1, > org.xbill.DNS.spi;uses:=sun.net.spi.nameservice;version=3.3.1, > org.xbill.DNS.tools;uses:=org.xbill.DNS;version=3.3.1, > org.xbill.DNS.utils;version=3.3.1 > Import-Package = > javax.crypto, > javax.crypto.spec, > android.os;resolution:=optional, > sun.net.spi.nameservice;resolution:=optional, > junit.framework;resolution:=optional > > > > > > Regards > > Daniel Langevin > Direction de l'assistance et des technologies > Direction des ressources informationnelles et matérielles > -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Possible Camel Issue - Recovery Repository

2022-01-18 Thread Claus Ibsen
of different completions is already high. But we can potentially do this. You are welcome to create another JIRA ticket > If there's a workaround, I'd really appreciate some advice. > > Thanks, > Chris > > -- > *Chris Furlong* > Co-founder, CTO > Direct: (843) 345-3884 > Email: chris.furl...@anduin.ai > > -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Endpoint trying to create additional consumers for URIs with paths

2022-01-18 Thread Claus Ibsen
th the URI > truncated after the name, but it still results in an attempt to add another > consumer if an endpoint has been previously created for that name (with a > different action). Is there a way to stop creating new Endpoints for > different path parameters, and only care about the

Re: Re[2]: Using camel-main, xml route, referencing a java class as processor

2022-01-17 Thread Claus Ibsen
Hi In Camel 3.14 you can use bean instead of process to refer to the #class. On Tue, Jan 18, 2022 at 7:28 AM Claus Ibsen wrote: > > Hi > > Yes this is not supported currently. I have created a JIRA and have a > fix for this: > https://issues.apache.org/jira/browse/CAMEL-17508

Re: Re[2]: Using camel-main, xml route, referencing a java class as processor

2022-01-17 Thread Claus Ibsen
& name.startsWith("#class:")) { > return this.createBean(name, Object.class); > } else { > return name != null && name.startsWith("#type:") ? > this.lookupBean(name, Object.class) : > this.getRegistry().lookupByName(name); &g

Re: What is the correct way to build a Predicate from an Expression?

2022-01-17 Thread Claus Ibsen
apache.camel.support.builder.ExpressionBuilder$22.matches(ExpressionBuilder.java:784) > ~[camel-support-3.15.0-SNAPSHOT.jar:3.15.0-SNAPSHOT] > > Can anyone give me an idea about what I might be missing? > > Thanks, > Steve -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Using camel-main, xml route, referencing a java class as processor

2022-01-17 Thread Claus Ibsen
directly as described > in > https://camel.apache.org/manual/processor.html#_referring_to_beans_using_class_syntax > . > > But it doesn't seem to work. > > Are there any other conditions to using #class ? > > > ચિરાગ/चिराग/Chirag > -- > Sent from My Gmail Account -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: How can I specify multiple URI path parameters for an Endpoint when implementing a component?

2022-01-16 Thread Claus Ibsen
string from the name of > a parameter? Or does it only "link" to a parameter if that parameter > exists? > > On Sun, Jan 16, 2022 at 9:47 AM Claus Ibsen wrote: > > > Hi > > > > You can use @UriPath for context-path parameters. > > > > The n

Re: How can I specify multiple URI path parameters for an Endpoint when implementing a component?

2022-01-16 Thread Claus Ibsen
ot; the URI this way for the Endpoint. > > Is this merely a matter of parsing, so that the business logic only looks > for "action" in the context of processing things for "name"? Or is there > something more formal? Please pardon my ignorance. > > Thanks, &

Re: Issue CAMEL-17154: Request for comment and review

2022-01-11 Thread Claus Ibsen
ite > >> libraries, this is pretty exciting for me. I would be glad to update the > >> blog post immediately. I will also add the things that we discussed with > >> regard to how this is a glue component, etc etc. If you need me to change > >> (or shorten) it, let

Re: Issue CAMEL-17154: Request for comment and review

2022-01-11 Thread Claus Ibsen
ay? > On Tue, Jan 11, 2022 at 8:04 AM Claus Ibsen wrote: > > > On Sat, Jan 8, 2022 at 4:09 PM Steve973 wrote: > > > > > > Hello. I would like to add a little more to this conversation, since you > > > mentioned my reason for contributing this code. M

Re: Issue CAMEL-17154: Request for comment and review

2022-01-11 Thread Claus Ibsen
d also allow to auto-gen uuid for the subscription id, so if id is omitted then one is returned String uid = requestBody() Anyway that is food for thoughts for improvements. What you have sent today as PR - lets review it. I can see its usefulness and its potential if you continue to

Re: Problem with custom retry handling when using camel netty producer

2022-01-11 Thread Claus Ibsen
sumer FromURL: netty:tcp://127.0.0.1:6066?sync=true > maximumRedeliveries option works, but it retries the same route so the > drawback is we cannot select a different server endpoint in this case. > The version that we use currently is Camel-http 3.7.4 > > Much thanks, VNS

Re: Issue CAMEL-17154: Request for comment and review

2022-01-11 Thread Claus Ibsen
, instead. Is it not OK for a component to > provide more glue? > Yes sure it shows the versatility of Camel that it is very pluggable. > Thanks, > Steve > > On Fri, Jan 7, 2022 at 6:08 AM Claus Ibsen wrote: > > > Hi Steve > > > > We can see from your work th

Re: camel-quartz is misfiring on startup

2022-01-11 Thread Claus Ibsen
QUARTZ > > > ...:54,526 INFO [main] o.a.c.c.mock.MockEndpoint - > > Re-asserting: > > > mock://end is satisfied after 1000 millis > > > > > > The route I am using is incredibly simple > > > > > > > > > > > from

Re: filter messages in split()

2022-01-10 Thread Claus Ibsen
Hi I created a ticket about adding the filter status back (but needs to be turned on). I Wonder about a good name for such an option. Feedback welcome https://issues.apache.org/jira/browse/CAMEL-17468 On Mon, Jan 10, 2022 at 8:10 PM Claus Ibsen wrote: > > Hi > > You can add a c

Re: Invoke method in Predicate

2022-01-10 Thread Claus Ibsen
Hi I am adding method back as I found a way to do this in a way that is not causing tight dependency to camel-bean https://issues.apache.org/jira/browse/CAMEL-17467 On Mon, Jan 10, 2022 at 8:15 PM Claus Ibsen wrote: > > Hi > > You can use simple instead of method ala: > >

Re: Invoke method in Predicate

2022-01-10 Thread Claus Ibsen
.method("getEmail").isNull()); > > With 3.13 it fails because .method() is not available anymore, so there > should be some other way? What is it? > > > Dmitry > -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: filter messages in split()

2022-01-10 Thread Claus Ibsen
> .end() > .to("mock:result") > ; > > My current workaround is to set the body to null and filter all null bodies > within the aggregator, but I don't think that's the best solution. > > Any hint would be very helpful. > > Kind regards, > Joerg -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: How to retrieve source port: Camel-HTTP

2022-01-10 Thread Claus Ibsen
t if there is any way to retrieve the local/source port > details from camel-http for a http client. > Much thanks, VNS -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Trying to track down a mkdirs() failed error

2022-01-10 Thread Claus Ibsen
ons. It could be a coincidence, but it is > > still a little bit strange. I'll keep poking around. > > > > > > On Mon, Jan 10, 2022 at 6:38 AM Claus Ibsen wrote: > > > >> Hi > >> > >> It can be stream caching (if you use that) that overflow

Re: Trying to track down a mkdirs() failed error

2022-01-10 Thread Claus Ibsen
sions to? Or if any of you have some ideas > about how I might be able to get some more information, that would help, > too. Thanks in advance. > > Steve -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Issue CAMEL-17154: Request for comment and review

2022-01-07 Thread Claus Ibsen
ld be kind enough to take a quick glance and let me know > what you think, I would be quite grateful. > > Happy holidays, if you are celebrating. Take care, and be well, regardless. > > Thanks, > Steve -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Some class version errors when building

2021-12-26 Thread Claus Ibsen
a bunch of time if I have to do it daily. > > Thanks, > Steve -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Can ControlBus be used for custom management?

2021-12-23 Thread Claus Ibsen
What you can do is for your component to have a way to send "control" messages to it that it understands, then users can do from xxx to acme:control?action=foo=bar On Thu, Dec 23, 2021 at 3:19 PM Claus Ibsen wrote: > > On Thu, Dec 23, 2021 at 2:21 PM Steve973 wrot

Re: camel maven plugin error on generate phase

2021-12-23 Thread Claus Ibsen
On Thu, Dec 23, 2021 at 3:17 PM Claus Ibsen wrote: > > Hi > > > Yes the plugin is changed. > You need to do a full rebuild local, > > mvn clean install -P fastinstall > > from the root folder. > And if you still have a problem, then can you paste the stacktrace

Re: Can ControlBus be used for custom management?

2021-12-23 Thread Claus Ibsen
t; benefit from management messages? Would it make sense to have a third > command of "component", and allow arbitrary URI params that the component > understands? > No that is not the design of this component - it is for the normal use cases, to manage routes. &g

Re: camel maven plugin error on generate phase

2021-12-23 Thread Claus Ibsen
to > this plugin? Things were working well with the previous snapshot version. > Have any of you seen this error, too? > > Thanks, > Steve -- Claus Ibsen - http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2

Re: Consume annotation not working when used with Spring XML

2021-12-20 Thread Claus Ibsen
deed consume from the URI obtained from the > specified property. However, I am writing some Spring XML (not spring > boot) integration tests, and when it runs, it is not consuming from the > URI. What am I missing? > > Thanks, > Steve -- Claus Ibsen - http://

Re: [ANNOUNCE] Apache Camel 3.14.0 Released

2021-12-17 Thread Claus Ibsen
g fixes and improvements. > > The release is available for immediate download at: > > https://camel.apache.org/download/ > > For more details please take a look at the release notes at: > > https://camel.apache.org/releases/release-3.14.0/ -- Claus Ibsen - h

Re: Apache Log4j Security Vulnerabilities

2021-12-15 Thread Claus Ibsen
mel K / Camel Quarkus as affected, due to log4j-core was shipped in a product .zip download (but as we known Camel is not affected) https://quarkus.io/blog/quarkus-and-CVE-2021-4428/#red-hat-product-security-bulletin > bye > David > > On 12/13/21 11:32 AM, Claus Ibsen wrote: > > On Mo

Re: Apache Log4j Security Vulnerabilities

2021-12-13 Thread Claus Ibsen
id > > 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.co

<    1   2   3   4   5   6   7   8   9   10   >