Re: Large Camel Open-Source project?

2024-08-21 Thread ski n
I also have a fairly big open source project based on Camel: https://github.com/assimbly/gateway It's a gateway between systems. It also powers a commercial project. Raymond On Wed, Aug 21, 2024 at 10:24 AM Claus Ibsen wrote: > Hi > > You can also find some companies, and open source projects

Re: Camel 4.6 activemq issue

2024-08-27 Thread ski n
You are creating a custom component with its own name " jmsMQ". This is not uncommon for the JMSComponent, however in your case, the component is not available as endpoint when you load it. You may try to set lazy-init="true" from to false. Raymond On Tue, Aug 27, 2024 at 1:26 PM Sujeet Singh wr

Re: Camel 4.6 activemq issue

2024-08-27 Thread ski n
et to lazy-init="true". > > Please correct me if I am wrong. > > Thanks, > Sujeet > > > On Tue, 27 Aug 2024, 17:26 ski n, wrote: > > > You are creating a custom component with its own name " jmsMQ". This is > not > > uncommon for the

Re: Camel 4.6 activemq issue

2024-08-27 Thread ski n
> > Hi, > > In the code that I pasted it is already set to lazy-init="true". > > > > Please correct me if I am wrong. > > > > Thanks, > > Sujeet > > > > > > On Tue, 27 Aug 2024, 17:26 ski n, wrote: > > > >> You are

Component options

2018-11-23 Thread ski n
I have two questions regarding Component options: 1) Is it possible to get all options as a Map >From the context it's possible to get component: context.getComponent("componentName"); It also possible to get the Component documentation like context.getComponentDocumentation("component

Re: Feedback on Deprecating the Camel Maven Archetypes

2018-12-02 Thread ski n
Personal I don't use the maven archetype, mostly I start from scratch or use the spring boot initializr. On the broad topic of Camel 3.0: http://camel.apache.org/camel-30-ideas.html http://camel.apache.org/camel-30-roadmap.html What I read so far about is that it's mostly targeted at cleaning a

FTPS Handshake error

2019-02-10 Thread ski n
I'm trying to send some text files to a FTPS server. The FTPS server has following specifications: 1) FTP Type: FileZilla Server 2) Cryptographic protocol = TLS/SSL Explicit encryption, TLSv1.2 3) Encryption algorithm = TLSv1/SSLv3: ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA, ECDHE-RSA-AES256-GCM-S

Re: FTPS Handshake error

2019-02-11 Thread ski n
ailable to the default Java installation and I solved > it by installing that extension. > > /Björn > > On 10/02/2019, 19:09, "ski n" wrote: > > I'm trying to send some text files to a FTPS server. The FTPS server > has > following specificatio

Re: [DISCUSS] - Apache Camel 3 - A new tagline

2019-02-20 Thread ski n
It can be straight-forward like: "Apache Integration Framework" Apache, because it's well-known and trusted Integration Framework, because that's what it is. If it needs to be more punchy than "Integrate everything" Sounds good to me. Alternative taglines: Integration for all with all Integra

Re: FTPS Handshake error

2019-02-20 Thread ski n
08 schreef ski n : > Yes, I have JCE accessible in the JVM. I am using latest Java 8 Update > 201. > > As in this anser stackoverflow the unlimited shouldn't be set anymore: > > > https://golb.hplar.ch/2017/10/JCE-policy-changes-in-Java-SE-8u151-and-8u152.html >

Re: FTPS Handshake error

2019-02-21 Thread ski n
ght be against the design of JSSE to reuse the same SSL > session across different ports. > > zoran > > On Wed, Feb 20, 2019 at 8:04 PM ski n wrote: > > > > I looked again into this issue. The issue occurs, because of TLS session > > resumption. There is an option

Re: https4 component failing to send client SSL certificate

2019-05-08 Thread ski n
Hi Scott, Code looks fine. Did you check if the certificate is correctly in the truststore (keystore isn't really needed in this use case). You can use Keystore explorer to check the certificates: https://keystore-explorer.org/downloads.html You may also check if it works with Assimbly (as it us

CXF and Camel

2019-05-08 Thread ski n
Hi all, I would like to develop a generic CXF/Camel application that interacts with other webservices (microservices/application). So as result I would have: “Spring boot application hosting a soap/rest CXF webservice (acting as host/server) and also act as a client that interacts with external w

Re: Apache MQ monitoring/retry

2019-05-27 Thread ski n
Hi Tobias, When you want to stick with MQ you can set the Redilevery ( http://activemq.apache.org/redelivery-policy). If you want more control over what happens with the fault messages you can build a custom Camel route. There you can consume the queue and resend certain messages (for example with

Re: Introducing Syndesis

2019-10-02 Thread ski n
Hi Kurt, Great to hear about that the next level cloud/low-code integration initiative targeting 2.0. I'll tried an earlier version on Fedora and MacOS, so I'm curious to see the progress. >From the quick-start: " Integrations are deployed as Spring Boot applications inside a container onto Open

Re: Introducing Syndesis

2019-10-02 Thread ski n
desisio/syndesis-quickstarts/blob/master/README.md#3-install-syndesis > ) > > We are working towards having a fat-jar zip file that you'd run to bring up > the designer as a standalone java process. This so people can try it out > much easier before having to go full cloud na

Re: BridgeErrorHandler on JMS Endpoint does not work as expected

2019-10-16 Thread ski n
I have the same issue on SFTP with bridgeErrorHandler=true. I expected that in case of an error not only an exception is thrown, but the message is handled by the defaultErrorHandler or deadLetterChannel (for example the message however doesn't arrive on the deadLetterChannel in case of an exceptio

Re: BridgeErrorHandler on JMS Endpoint does not work as expected

2019-10-16 Thread ski n
@Daniel instead of camel-jms you can also try camel-sjms (The Simple (or Springless) JMS component). In my experience this component works better. Op wo 16 okt. 2019 om 12:56 schreef Claus Ibsen : > Hi > > The bridge cannot do 100% of all errors as its how the underlying > library is designed. ca

Re: BridgeErrorHandler on JMS Endpoint does not work as expected

2019-10-16 Thread ski n
t setting it into the exchange and throw it > to the MessageListenerContainer. > > > But now I will try with the new component and inform you with the results. > > > Thx and regards > Daniel Novak > > > Von: ski n > Gesendet:

Re: BridgeErrorHandler on JMS Endpoint does not work as expected

2019-10-16 Thread ski n
the CiA2 book then read the error handler > chapter which details about the bridge error handler and the reasons. > > On Wed, Oct 16, 2019 at 3:51 PM ski n wrote: > > > > Just note that SJMS component (=JMS 1.1) and SJMS2 component (=JMS 2.0). > > > > I also wonder wh

Re: BridgeErrorHandler on JMS Endpoint does not work as expected

2019-10-16 Thread ski n
nd Op wo 16 okt. 2019 om 16:26 schreef : > No. I think it's > > 11.4.8 Bridging the consumer with Camel’s error handler > > > But unfortunately it doesn't help me with my case. > > > regards > > Daniel > > >

Re: Issues with Session Closed in SJMS2 and ActiveMQ

2019-10-21 Thread ski n
Can you tell more about broker and connection? 1) Are you connecting to ActiveMQ Classic or Artemis 2) Which version of ActiveMQ is used? 3) How does the connectionFactory is setup? For ActivMQ classic I use the ActiveMQ Component ( https://camel.apache.org/components/latest/activemq-component.ht

Re: Issues with Session Closed in SJMS2 and ActiveMQ

2019-10-21 Thread ski n
ssion (JMS) level. Regards, Raymond Op ma 21 okt. 2019 om 15:30 schreef Mikael Andersson Wigander < mikael.grevs...@gmail.com>: > Well would that be the same as ?keepAlive=true on the broker URL? > > ttl is default to -1 on the sjms2 component > > M > > >

Re: Change from ApacheMQ to ArtemisMQ

2019-12-04 Thread ski n
Hi Tobias, "I’m already using ApacheMQ and Springboot" I think you are using ActiveMQ client within a Sprint boot application. For Artemis I suggest trying the SJMS component ( https://camel.apache.org/components/latest/sjms-component.html). Example: org.apache.activemq.artemis.jms.client.Activ

Remote management/monitoring CamelK through Camel API

2019-12-23 Thread ski n
Is it possible to manage/monitor camel routes running in Kubernetes with CamelK? With this I don't mean some client like Hawt.io, but more like there is a Camel route running on my laptop or somewhere else on premise.Is then possible to push/deploy it from the Camel Context to the Kubernetes cluste

Re: REST Reply: convert XML to JSON in Spring DSL

2020-02-12 Thread ski n
As mister Kay already mentioned if you want full control the best way to go is with XSLT 3.0. If you just need a simple approach in plain Java, you can try DocConverter (https://github.com/assimbly/docconverter). Kind regards, Raymond Op wo 12 feb. 2020 om 15:31 schreef Mark Lumsden : > Hi Mich

oAuth2.0

2020-02-24 Thread ski n
Does any have a good/simple for the REST component combined with oAuth2.0/Spring security? I saw some examples with basic authentication, but not with oAuth2 yet. Regards, Raymond

Some questions on CamelK

2020-03-16 Thread ski n
Hi all, In the last presentation there was also a short demo on CamelK. That looked very interesting, but I have some questions on how does it work, especially in more complex use cases. Here are some questions I have: Question 1: Dependency resolution In CamelK you can provide the following:

Re: Some questions on CamelK

2020-03-17 Thread ski n
t as > sink and sources for knative eventing. > > For k8s concepts then I also recommend the k8s patterns book by Bilgin > and Roland. > https://k8spatterns.io/ > > > > > On Mon, Mar 16, 2020 at 6:42 PM ski n wrote: > > > > Hi all, > > > > In the last pres

Re: Some questions on CamelK

2020-03-17 Thread ski n
". > > With Camel K its still 100% Camel and you have CamelContext and all of > that. But it focused on hiding that more, and just make the route DSL > front and center, where you do "low code" to specify what to integrate > together. > > > > > > On Tue

Re: Some questions on CamelK

2020-03-17 Thread ski n
Thanks for your time, looking forward for the in depth CamelK webinar! Op di 17 mrt. 2020 om 14:11 schreef Claus Ibsen : > On Tue, Mar 17, 2020 at 12:06 PM ski n wrote: > > > > Yes, it's clear how Kubernetes/Camel K is used. I just speak from the > field > >

Re: Camel 3 - hot config reload

2020-03-23 Thread ski n
Hi Łukasz "I am currently using Camel 3 in a standalone mode without Spring. My goal is to hot reload XML routes configuration." Sounds like a great project. Like to see some on Github. " There is a note in the migration guide that classes ReloadStrategySupport and FileWatcherReloadStrategy have

Re: Some questions on CamelK

2020-03-23 Thread ski n
ally). A little bit like vert.x does on it website (See polyglot --> https://vertx.io/) Kind regards, Raymond Op wo 18 mrt. 2020 om 20:11 schreef Nicola Ferraro : > Hi, responses inline. > > Il lun 16 mar 2020, 18:42 ski n ha scritto: > > > Hi all, > > > > In t

Re: Some questions on CamelK

2020-03-27 Thread ski n
s a sample example of creating a http server in multiple languages. In this way every example is in every language. Raymond Op wo 25 mrt. 2020 om 09:38 schreef Zoran Regvart : > Hi Raymond, > > On Mon, Mar 23, 2020 at 7:38 PM ski n wrote: > > The code for every example could be

Re: Camel 3.x and multiple contexts

2020-03-31 Thread ski n
Hi Ronald, I can't tell about the separation within Camel. I can however say how I see how this is done. For example separate the integration from the application and then start every integration in a separate process or Docker container Kind regards, Raymond Op di 31 mrt. 2020 om 15:04 schreef

Re: Marshal POJO back to XML

2020-05-04 Thread ski n
I think the best thing to do, is to create a Stackoverflow issue first. The issue should contain all your code (Camel DSL, pojo etc). Then you can post the link to the Stackoverflow issue here. I then would be easier to answer for the community. regards, Raymond Op ma 4 mei 2020 om 12:40 schreef

Re: Distributing routes on multiple camel instances

2020-05-18 Thread ski n
Hi Sherwin, Since Camel 3.x multiple CamelContexts are not supported. See migration guide: https://github.com/apache/camel/blob/master/docs/user-manual/modules/ROOT/pages/camel-3-migration-guide.adoc However it's possible to run multiple Camel applications. It depends on your runtime how to imple

Camel & NiFi

2020-05-25 Thread ski n
Wrote a tech blog on using Camel with Apache NiFi: https://medium.com/@raymondmeester/using-camel-and-nifi-in-one-solution-c7668fafe451 I thought I share it here, Raymond

Re: Camel & NiFi

2020-05-27 Thread ski n
> > > camel? How to save (and resume) the flow every restart? > > > > > > Kind regards !!! > > > > > > Fabrizio > > > > > > Il Mar 26 Mag 2020, 20:32 Claus Ibsen ha > > scritto: > > > > > >> Hi Raymond > >

Camel3 in Assimbly

2020-06-11 Thread ski n
A few weeks ago I blogged on using Camel together with NiFi. One of the tools I used was Assimbly gateway. This is an open source/community project I created. It's a Spring boot app on top of Camel. You can find it on the user stories page: https://camel.apache.org/community/user-stories/ After t

Re: [ANNOUNCEMENT] Apache Camel 3.5.0 (LTS) with Spring Boot and Karaf Sub-Projects Released

2020-09-08 Thread ski n
I do it through the mailing list as the blog ( https://camel.apache.org/blog/2020/09/Camel35-Whatsnew/) don't allow comments. 1) What are the use case of the new "LambdaRouteBuilder" when should I use it and when not? 2) How long will fixes be backported to LTS 3.4.X. Is that all fixes or a subset

Re: Apache Camel User Stories Page

2020-11-06 Thread ski n
Hi Alexandre, Looks interesting, would be nice if the website would also be in English (Though with Google translate it get an idea https://translate.google.com/translate?sl=auto&tl=en&u=https://www.apipass.com.br) also helps. Can you tell a little more about the technical setup (backend/frontend)

Camel Java DSL Cheat

2021-01-11 Thread ski n
Hi All, For a project I created a lot of Camel routes. Sometimes I noticed that I need to look up how to do something. To look it up more quickly I created a cheat sheet for the Java DSL. Maybe also useful for others: https://github.com/assimbly/camel-examples In case you miss something just ma

Re: Camel Java DSL Cheat

2021-01-15 Thread ski n
All examples can be used for Camel documentation as well (same license as Camel). Think it should be reviewed first though. Regards, Raymond (Ski n) Op wo 13 jan. 2021 om 07:05 schreef Ajmera, Hemang C : > Hi >This seems to be really useful. I think we should include this in

Future of Camel

2021-01-17 Thread ski n
Hi all, In 2020 there was a clear roadmap towards 3.7.0. This roadmap focussed on modularization and performance, especially useful in microservices and cloud functions. Now I wonder what the roadmap of 2021 will be and what the future of Camel brings. I made 12 questions on the Camel ecosystem

Re: Future of Camel

2021-01-29 Thread ski n
to see how others user experience Camel. Maybe a user survey would be interesting? Regards, Raymond Op wo 20 jan. 2021 om 20:21 schreef Claus Ibsen : > Hi > > > On Sun, Jan 17, 2021 at 10:28 AM ski n wrote: > > > > Hi all, > > > > In 2020 there was a clear r

Re: Replacement for camel-xmljson for schema-less xml -> json

2021-02-11 Thread ski n
I wrote a simple DocConverter for data format conversion (without the need of schema's and marshalling): https://github.com/assimbly/docconverter Here is a link to a Camel processor example that using Assimbly DocConverter: https://github.com/assimbly/connector/blob/master/connectorModule/src/ma

Re: Adding Global scoped exception handler in DefaultCamelContext

2021-02-28 Thread ski n
Hi Reji, You may check the Error Handler: https://camel.apache.org/manual/latest/error-handler.html Regards, Raymond Op ma 1 mrt. 2021 om 03:23 schreef Reji Mathews : > I am trying to build a camel context from scratch using very basic API's > (Not with the RouteBuilder). > > Started off with

Re: Storing global properties/information

2021-03-14 Thread ski n
It's not clear from your question why you need the file component (instead of direct, kafka or activemq for example), but assume this is a hard requirement. There are several possibilities. For example: 1) If there is not a lot of metadata, you can store it in the filename 2) Create a second file

Using Multi language DSL's

2021-03-29 Thread ski n
Hi all, In the latest and coming Camel versions various CamelK functionalities are made broadly available within Camel. Exciting things like Kamelets and Multi language DSL's. About the last one I have some questions. In the routeloader example and also in the blog post on version 3.9 spoken is t

Configuration Jetty component

2021-04-16 Thread ski n
Hi All, I have an implementation of the Jetty component (Camel 3.7.3). Today I struggled with it a bit. I have no issues anymore, but I thought maybe good to share here anyway. My camel app: A Jetty component hosting an endpoint to get messages. The hosted url can be set by the user (through a p

Load route steps dynamically

2021-04-17 Thread ski n
Hi all, I have a question how to load (add or remove) route steps dynamically with Java/Java DSL. For example, I have a route with around 20 steps. The users can configure which steps are used and which not. Now the creating of the route has the following steps: 1) Write code (Java DSL) 2) Comp

Re: Load route steps dynamically

2021-04-17 Thread ski n
. Raymond Op za 17 apr. 2021 om 13:51 schreef Mantas Gridinas : > Sounds like you're programming in your routes rather than integrating > processes/systems. I think the simplest solution would be using > feature flags in choice blocks. > > On Sat, Apr 17, 2021 at 8:00 A

Re: [camel-rabbitmq] - InOut pattern and temporary queues

2021-05-11 Thread ski n
When working with a Request-Reply pattern the reply message needs to send to a second reply queue. The InOut pattern mostly goes like this: 1) Producer send request with correlationid to a queue 2) Consumer receives the message and send a reply to the reply queue 3) Producer matches the reply mess

Re: [Tooling] Diagramming Camel routes with PlantUML

2021-05-15 Thread ski n
Thanks, looks cool! What are your plans for new features? Will you add support for route steps for example? Kind regards, Raymond Op za 15 mei 2021 om 13:31 schreef CASAUX Nicolas < nicolas.cas...@soprasteria.com>: > Hello Camel users ! > > I created a small tool which allow to visualize Ca

Camel components overview

2021-06-16 Thread ski n
Hi all, Currently, there is a component overview for the latest version and LTS versions. For example: https://camel.apache.org/components/latest/ https://camel.apache.org/components/3.10.x/ https://camel.apache.org/components/3.7.x/ https://camel.apache.org/components/3.4.x/ https://camel.apache

Re: xmljson deprecated in camel 3.x

2021-08-17 Thread ski n
For my Camel environment, I wrote Assimbly docconverter. This is a Java library to convert between various data formats (including XML2JSON). The lib is called within a Camel processor. It's open source and on Github/Maven Repo: https://github.com/assimbly/docconverter Raymond Op di 17 aug. 202

Re: Oath2 Component?

2021-09-28 Thread ski n
The use cases will depend if you're on the server or client side. And which OAuth flow is used. I for example had a use case for storing tokens. These tokens are 15 minutes valid. When making a call which needs this token, it checks if the token is still valid or not. When not, it refreshes the to

Re: Camel Spring Boot Project in Intellij IDEA and super slow IDE performance

2021-10-13 Thread ski n
Hi Steve, I think you are right, the issue is probably not memory/CPU related. For example, I work every day with IntelliJ (Camel/Spring projects) and haven't experienced the same issue (My IntelliJ has around 1,5 G memory and starts in 15 seconds). You probably need to check the version of Intel

Re: sftp deleting file from localworkDirectory - How do I make it stop

2021-11-19 Thread ski n
On a quick scan, you could probably change this: + "&delete=false" + "&noop=true" On a more general note it would be good to start with fewer options. Then add options according to the component documentation: https:

Dynamically loading components in Camel core

2021-11-22 Thread ski n
There are many Camel components, I would like to let users to add a component at runtime (for example http), like a plugin. There are possibilities to do this in Karaf (through OSGi). Is there a way to add a component at runtime with Camel core (considered I have the right jar files)? There are so

Re: Azure Cosmo with MongoAPI migration

2021-11-23 Thread ski n
Hi Tobias, To get better response I advise to tell a bit more about the setup, the challenges and the goals you are facing and where it relates to Camel. I think Cosmos provide a compatibility API for MongoDB mapping Containers (Collections at MongoDB) and Items (Documents at MongboDB) with each o

Simple language

2021-11-26 Thread ski n
Hi all, I have two questions regarding simple expressions: 1) Is it possible the get the time in miliseconds. Something like ${data:now.toMilli} 2) Is it possible to calculate with the simple language ${1 +1} Kind regards, Raymond

Re: Simple language

2021-11-26 Thread ski n
che.org > Objet : RE: Simple language > > Hi Raymond, > > For date: > ${date:now:-MM-dd' à 'HH:mm:ss' ('yyy'.'D')'} > > > For addition 1 to value of Var1 > ${header.Var}++ > > Regards > > Daniel Langevin > > -Me

Re: Simple language

2021-11-26 Thread ski n
elCreatedTimestamp} > headerName="wUnixTimeStamp">${header.wTimeStamp.getTime()/1000} > > > > Hope it's help! > > > Daniel Langevin > > > -Message d'origine- > De : ski n > Envoyé : 26 novembre 2021 09:48 > À : users@camel.apache.org

Re: Converting ;< ;> to <> in camel

2021-12-02 Thread ski n
Hi, Your approach with replaceAll seems valid. It's not uncommon to do it like that. What is your issue with it? Is it slow or do you don't like the boilerplate code? As I can see there are various options: 1) Use processor Move the processor outside the route into a separate Java class "Unesca

Which option to use sending between routes?

2021-12-04 Thread ski n
Hi all, In Camel, messages can flow between routes through several components like: 1) Direct (Synchronous within CamelContext) 2) Direct-VM (Synchronous within JVM) 3) SEDA (Asynchronous within CamelContext) 4) VM (Asynchronous within JVM) 5) ActiveMQ/AMQP/SJMS/RabbitMQ (Synchronous/Asynchrono

Camel runtime

2022-01-09 Thread ski n
In a big organization, we have a discussion on Camel runtimes. When looking at the website, there are options like - Main/JVM - Karaf - Wildfly/EAP - Spring Boot - Quarkus - Knative The Camel project seems to be neutral towards various runtimes, which make the choice dependent on: - technologie

Re: Bloker kafka sftp connector

2022-02-03 Thread ski n
Hi Sergio, Can you tell a bit more about your use case? 1) How big are the files? Is there a specific threshold when doesn't it work anymore? 2) What kind of error do you get and where do you get it? (On Camel side or Kafka side, is it memory related)? 3) What kind of files are you using (csv, xm

Some Camel 3 release stats

2022-03-18 Thread ski n
Hi all, Here are some Camel 3 release stats (for fun): Release date Camel 3.0: 28/11/2019 Number of Camel 3.X releases: 41 Number of RC releases: 3 Number of Major releases: 1 Number of Minor releases: 14 Number of Patch releases: 22 Number of Long Term Support releases: 4 Release by number of i

Re: Some Camel 3 release stats

2022-03-19 Thread ski n
/apache/camel-website > > Look under > https://github.com/apache/camel-website/tree/main/content/blog/2022 > > And then copy an existing blog, and modify it. > > On Fri, Mar 18, 2022 at 3:09 PM ski n wrote: > > > > Hi all, > > > > Here are some Camel 3 r

Re: Presenting Kaoto

2022-03-24 Thread ski n
Looks cool, will definitely check it out! For those who like to give support/star it: https://github.com/KaotoIO Greets, Raymond On Thu, Mar 24, 2022 at 9:29 AM María Arias de Reyna wrote: > Hello! > > I would like to present you a Camel editor Rachel and I have been > working for the past y

Re: Can I scale the Camel-K-Operator deployment?

2022-03-25 Thread ski n
You may also check KEDA: https://camel.apache.org/blog/2022/01/camel-keda/ Raymond On Fri, Mar 25, 2022 at 9:54 AM Pasquale Congiusti < pasquale.congiu...@gmail.com> wrote: > Hello there, > yes, I've created a GH issue with some hints on how to perform such > scaling: https://github.com/apache/

Using the RoutesLoader

2022-04-11 Thread ski n
Hi All, I like to use the routesLoader ( https://javadoc.io/static/org.apache.camel/camel-api/3.16.0/org/apache/camel/spi/annotations/RoutesLoader.html ). I have some questions about how to properly use it. 1) Is there any documentation on how to use it? (At https://camel.apache.org/manual/ or ht

Re: Using the RoutesLoader

2022-04-11 Thread ski n
om.xml to include > yaml dsl and create yaml files and put them into "routes" folder. > > > org.apache.camel > camel-yaml-dsl > > > > > ચિરાગ/चिराग/Chirag > ---------- > Sent from My Gmail Account > > On Mon,

Re: Using the RoutesLoader

2022-04-11 Thread ski n
ion > > https://camel.apache.org/manual/route-configuration.html > > > > On Mon, Apr 11, 2022 at 4:30 PM ski n wrote: > > > > > > I am indeed using Camel 3 (Currently 3.14.2) and using Maven. I just > use > > > plain Java (camel core), so I have a s

Re: Using the RoutesLoader

2022-04-11 Thread ski n
orked similar to the old "addOrUpdateXml" method as it says "Loads or updates existing RoutesBuilder". However it works differently (at least for RouteConfiguration). When changing the routeConfiguration to: loader.loadRoutes(resource); then it worked. Raymond On M

Re: Using the RoutesLoader

2022-04-12 Thread ski n
Loading the routeconfiguration through: loader.loadRoutes(resource); also doesn't work. Directly from Java is no problem. Is this a bug or should the XML RouteConfiguration loaded differently? Raymond On Mon, Apr 11, 2022 at 10:26 PM ski n wrote: > As a note: > > When

Re: Using the RoutesLoader

2022-04-13 Thread ski n
Raymond, > > to summarise: > You want to load route configuration using XML? > > ચિરાગ/चिराग/Chirag > -- > Sent from My Gmail Account > > On Tue, Apr 12, 2022 at 7:59 AM ski n wrote: > > > > Loading the routeconfigurat

Re: Using the RoutesLoader

2022-04-13 Thread ski n
I also created an issue for this with an example: https://issues.apache.org/jira/browse/CAMEL-17953 On Wed, Apr 13, 2022 at 9:25 AM ski n wrote: > Yes, based on the link Claus send: > > https://camel.apache.org/manual/route-configuration.html > > There is an example of how to do

Re: Using the RoutesLoader

2022-04-14 Thread ski n
route-configuration.html#_route_configuration_in_xml > works. > > I think the gap is - when defining a framework based on camel - how to > associate specific routeconfigurations to all routes. > > ચિરાગ/चिराग/Chirag > -- > Sent from My Gmail

Re: [HEADS UP] - Stream Caching default enabled in Camel 3.17 onwards

2022-05-12 Thread ski n
Wow, good step. One of the first thing what I did with a new Camel App was enable stream caching, however was always a bit worried about the edge cases. Good they are tackled now. Raymond On Wed, May 11, 2022 at 12:57 PM Claus Ibsen wrote: > Hi > > Okay so I am working on correcting some unit t

Camel language

2022-05-20 Thread ski n
Some Friday afternoon thoughts... on the Camel DSL and Camel Workflow. The Camel DSL The Camel framework implements a lot of Enterprise Integration Patterns, Data Formats and Components. To make it easier to write integrations, the Camel DSL (Domain Specific Language) was invented. This DSL grew in

Re: Camel language

2022-05-21 Thread ski n
roove)? > How to deal with: > > from("...") >.bean(aBean, "aMethod") > > ? > > On 5/20/22 16:49, ski n wrote: > > Some Friday afternoon thoughts... on the Camel DSL and Camel Workflow. > The > > Camel DSL The Camel framework implements a

Re: Custom CamelContext

2022-06-16 Thread ski n
As an idea. We use templating engines (think of Freemarker, Mustache or Velocity) to generate the blueprint.xml. Then it's possible to have one base blueprint and based on rules add the beans and context. Raymond On Thu, Jun 16, 2022 at 9:30 AM Ephemeris Lappis wrote: > Hello. > > We have about

Re: Apache Camel Exception Handling doubt

2022-06-17 Thread ski n
Hi, It's good to provide a code example to see what you tried. Have you also tried to combine it with route configuration? https://camel.apache.org/manual/route-configuration.html This is available from 3.12. Raymond On Thu, Jun 16, 2022 at 7:43 PM j vh wrote: > Hello, > btw... I'm using Ca

Re: Apache Camel Exception Handling doubt

2022-06-19 Thread ski n
ic class MyCustomErrorHandler extends RouteConfigurationBuilder { > >@Override >public void configuration() throws Exception { > routeConfiguration("test-route-configuration-id") > .onException(Exception.class) > .handled(true) // discard the msg > .log(LoggingLe

Custom processors, Kameletes and components

2022-06-24 Thread ski n
For those who are interested in writing a custom Camel processor, Kamelet or component, I wrote a small blog on this topic: https://raymondmeester.medium.com/custom-code-in-apache-camel-56c9249d5b24 Greets, Raymond

Re: Memory problem with Camel split

2022-07-01 Thread ski n
Hi Florian, Did you also set a specific Strategy for the cache of the streaming: https://camel.apache.org/manual/stream-caching.html There you can set the threshold so that the stream is spooled to a disk instead of kept in memory. Raymond On Fri, Jul 1, 2022 at 3:49 PM EIBL Florian (ICS46

Re: Camel Quarkus Script Component

2022-07-16 Thread ski n
Hi William, First the good news :) 1. Groovy is supported by Quarkus from 1.0 https://camel.apache.org/camel-quarkus/2.10.x/reference/extensions/groovy.html 2. JavaScript is not supported by Camel anymore. The reason is that the JavaScript engine (Nashorn) has been deprecated since Java 9 (and

How to load/register a RouteTemplate at the CamelContext?

2022-07-24 Thread ski n
Hi, I have a Camel routeTemplate like this: public class MyRouteTemplates extends RouteBuilder { @Override public void configure() throws Exception { // create a route template with the given name routeTemplate("myTemplate") // here we define the required inpu

Re: How to load/register a RouteTemplate at the CamelContext?

2022-07-24 Thread ski n
and give it some id, and parameters. > And then from your route that wants to call then use direct:xxx to call the > new route. > > > > On Sun, Jul 24, 2022 at 11:19 PM ski n wrote: > > > Hi, > > > > I have a Camel routeTemplate like this: > > > > pu

Re: How to load/register a RouteTemplate at the CamelContext?

2022-07-25 Thread ski n
it is all > correct then there is a chance that you can "misuse" the kamelet component. > But use latest version. > > On Mon, Jul 25, 2022 at 8:21 AM ski n wrote: > > > OK, thanks (this was more or less what I was trying to avoid :) ) > > > > I thought t

Re: How to load/register a RouteTemplate at the CamelContext?

2022-07-25 Thread ski n
te templates like your example with timer. > Also your route template is wrong as its a source, (eg from timer) that you > cannot "call" from a route > > No jira as kamelet component is for kamelets so it expects kamelet:source > or kamelet:sink style route templates. >

Re: How do I install and use Apache Camel?

2022-07-26 Thread ski n
Basically, Apache Camel is an integration framework. Thus it's not a tool that you can run. Mostly it goes like this: 1. Start a Java project 2. Add the Camel code 3. Run the Camel (there are various runtimes like Karaf, Main, Quarkus, Spring Boot). Main is the easiest. Some suggestions: 1. Sta

Re: Component activemq not found

2022-08-22 Thread ski n
Hi, I think this is because of the history of Camel and ActiveMQ. Originally Camel was aligned with Apache ServiceMix (https://servicemix.apache.org/) ServiceMix contained: - Runtime: Apache Karaf - Several integration tools/frameworks: - Camel - ActiveMQ (Classic) - CXF (Webservices)

Re: Component activemq not found

2022-08-22 Thread ski n
t has been created. > - After setting an explicit reference on the connection factory in the > blueprints, I think that the ActiveMQ bundle of version 2.17.1 manages a > private package "javax.jms" that hides the publicly exported one... > > So... too many issues for something t

Re: Class Not Found betwwen Camel 3.14.3 and ( 3.14.4 or 3.14.5 )

2022-08-26 Thread ski n
java.xml.bind sounds like a Java 9+ thing. I had this recently: https://stackoverflow.com/questions/52502189/java-11-package-javax-xml-bind-does-not-exist On Fri, Aug 26, 2022 at 8:06 PM Daniel Langevin < daniel.lange...@shq.gouv.qc.ca> wrote: > Hi, > > I am using CAMEL 3.14.3 with KARAF 4.3.3

Re: transform CrontabRouteBuilder to rest service

2022-08-31 Thread ski n
Yes, this is possible. Probably the best way is to split the current route in multiple routes (each with its own function). You can even keep the crontab when needed. Something like this: rest("/api") .post("/transfertrain") .to("direct:transfertrain"); from(Quartz.compose(getClass().getSi

Re: templated route intercept

2022-09-01 Thread ski n
@Nikolay What are you trying to accomplish functionally? On Fri, Sep 2, 2022 at 8:02 AM Claus Ibsen wrote: > Hi > > It does not make as much sense to use intercept in templates as intercept > is really for global scoped > https://camel.apache.org/components/3.18.x/eips/intercept.html > > Also it

  1   2   >