Re: OnException block to figured out where the Exception is originated from

2019-08-28 Thread Omar Al-Safi
If I understood you correctly, you want to know from where this Exchange which holds the exception, have you tried something like `exchange.getFromEndpoint` or `exchange.getFromRouteId`? Which as I understood should gives from which endpoint this exchange has been originated from. However, I think

Re: own endpoint exmaple?

2019-09-16 Thread Omar Al-Safi
I see, yeah we will need to fix this. By the way, you can start scaffolding your component through maven archetype, https://camel.apache.org/manual/latest/camel-maven-archetypes.html, as I recall, it will also add the necessary files to enable camel auto discovery out of the box On Mon, 16 Sep

Re: own endpoint exmaple?

2019-09-16 Thread Omar Al-Safi
If I understand correctly, you want to create your own component, is that correct? If that is the case, please check here: https://camel.apache.org/manual/latest/writing-components.html. Basically you will need to either: - Add add a file to META-INF/services/org/apache/camel/component/FOO to

Re: Code of calling rest service is not working

2019-07-29 Thread Omar Al-Safi
I am new to Camel as well, I was figuring things on the way :). First you need to use a REST component, you can use the REST DSL , however this is only a DSL not a actual http server, you will need to include an http server component as well (e.g:

Re: own endpoint exmaple?

2019-09-19 Thread Omar Al-Safi
che.org > Betreff: Re: own endpoint exmaple? > > Hi Thomas, > > Did you figured it out ? > From the code, it's hard to see what the issue could be: Do you extend > DefaultComponent ? Do you call setProperties() in createEndpoint() ? and so > on... > If you have not

Re: One CamelContext vs. multiple CamelContexts

2019-09-30 Thread Omar Al-Safi
Yo be honest, I don't really see where it will help to have multiple contexts to run route, unless we are talking about fault tolerance and fail over? IMHO if the external system that you injest from that can support high throughput and parallelism (e.g: Kafka), maybe that will show good

Re: Camel-RabbitMQ-STOMP

2019-11-22 Thread Omar Al-Safi
Hi Mahesh, The error above is related to the initial creation of the Camel route, is pretty weird though that it can't parse the options although you correctly spelled them. Which version of Camel do you use? Also, in regards camel stomp with RabbitMQ, I honestly have no idea if it is going to

Re: Configuring custom Kafka producer/consumer properties on Camel Kafka component/endpoint?

2019-10-18 Thread Omar Al-Safi
f the kafka version > that was used for that release. > With having a way for end users to set extra options then they could > work against newer Kafka versions without Camel have to upgrade. > And maybe also to proprietary options on Confluent. > > > On Sun, Oct 13, 2019 at 2:3

Re: Dynamically restarting consumer routes with changed URI parameters

2019-10-16 Thread Omar Al-Safi
Hi Ralf, If you have these routes as a RouteBuilder beans, I think you can utilize CamelContext APIs such `addRoute` to add the bean dynamically. Of course you will need to implement a way to hot reloading of your .class files whenever you deem to. You can take a look at this test for an example:

Camel-netty to handle 1000+ TCP connections concurrently

2019-10-25 Thread Omar Al-Safi
Hello Camel riders, I have a general question regarding camel-netty over TCP, has any one succeed to run camel-netty in production in order to handle over 1000 TCP connections concurrently? Personally I haven't tested it but I was curious if someone else has done something similar and can share

Re: Micronaut and Apache Camel

2019-10-31 Thread Omar Al-Safi
Also you can take a look at Camel with Quarkus https://github.com/apache/camel-quarkus On Thu, 31 Oct 2019 at 10:41, Imran Raza Khan wrote: > I am looking for working example of Apache Camel with Micronaut. > > < >

Re: Best approach to deploy camel code as standalone application

2019-09-25 Thread Omar Al-Safi
The best way is to follow the documentation in this regards: https://camel.apache.org/manual/latest/faq/running-camel-standalone.html. And this is an example for a standalone Camel application:

Re: netty tcp consumer not reading large payload

2019-10-08 Thread Omar Al-Safi
I think there is some few information here, like how did you use it, how does your route looks like ..etc. Also did you take a look at netty example here https://github.com/apache/camel/tree/master/examples/camel-example-netty-http ? On Tue, 8 Oct 2019 at 13:49, Rohan Emmanuel wrote: > Hi, > I

Re: Configuring custom Kafka producer/consumer properties on Camel Kafka component/endpoint?

2019-10-13 Thread Omar Al-Safi
Hi Claus, I also thought about this, however since Kafka producers/consumers options increase and some of them may gets deprecated, I was thinking we can have a maven plugin that generate these configurations for us without the need to do it manually, it will generate using the configDef (e.g:

Re: Configuring custom Kafka producer/consumer properties on Camel Kafka component/endpoint?

2019-10-13 Thread Omar Al-Safi
tions of the kafka version > that was used for that release. > With having a way for end users to set extra options then they could > work against newer Kafka versions without Camel have to upgrade. > And maybe also to proprietary options on Confluent. > > > On Sun, Oct

Re: Configuring custom Kafka producer/consumer properties on Camel Kafka component/endpoint?

2019-10-13 Thread Omar Al-Safi
Hi, > > IMHO, I think maven plugin is fine if it's still generate a bean. We > have to provide configuration via a bean and/or URI for most for users. > We have to think about non-Maven users like Gradle or script users. > > Regards > JB > > On 13/10/2019 14:30, Omar Al-Safi

Re: building Camel in IntelliJ

2019-12-19 Thread Omar Al-Safi
Which camel version are you referring to? Also, I hope you are not opening the full project in intellj as that may cause problems. You can try only opening the submodules of the project, e.g: only one component to open in intellj. Regards, Omar On Thu, Dec 19, 2019, 17:05 Robin Vanderhallen

Re: building Camel in IntelliJ

2019-12-19 Thread Omar Al-Safi
Oh yeah I never actually ran mvn:idea, I just open it directly in intellj, most importantly by submodules. Not sure if that is still valid though On Thu, Dec 19, 2019, 17:20 Omar Al-Safi wrote: > Which camel version are you referring to? Also, I hope you are not opening > the full p

Re: Camel + Drill + Parquet

2020-02-12 Thread Omar Al-Safi
Hi Ron, By reading some introduction in Apache Drill, I'd say the file component would be more suitable to write parquet files. In regards to parquet and Camel, we don't have an example for it but the way I see it, you are heading into the right direction by creating a processor to convert the

Re: Camel + Drill + Parquet

2020-02-13 Thread Omar Al-Safi
l version to 3.0.1 and give Kudu a whirl... > > Thanks again. > > > On February 12, 2020 at 4:33 AM Omar Al-Safi wrote: > > > > > > Hi Ron, > > > > By reading some introduction in Apache Drill, I'd say the file component > > wou

Re: [ANNOUNCEMENT] Camel at FOSDEM 2020

2020-01-13 Thread Omar Al-Safi
Thank you Zoran for organizing. Looking forward to the event! Regards, Omar On Mon, Jan 13, 2020 at 3:31 PM Zoran Regvart wrote: > Hi Cameleers, > short update on the social event. It'll be at A La Mort Subite[1], rue > Montagne-aux-Herbes Potagères 7 in Brussels[2] on Saturday 1st of February

Re: Micrometer/Prometheus Metric Count

2020-01-20 Thread Omar Al-Safi
Hi Steve, in regards to the JIRA issue you added here, it looks like these metrics are for MicroProfile component ( https://camel.apache.org/components/latest/microprofile-metrics-component.html), perhaps you can try with microprofile component instead? Regards, Omar On Sat, Jan 18, 2020 at

Re: Proposal : camel-rabbitmq : RabbitMQProducer to override EXCHANGE_NAME/ROUTING_KEY headers if bridgeEndpoint

2020-01-21 Thread Omar Al-Safi
Hi, You are welcome to do so. Please raise a JIRA ticket and then send your PR. Regards, Omar On Mon, Jan 20, 2020 at 4:15 PM Jonathan Schoreels < jonathan.schore...@gmail.com> wrote: > Hi, > > Currently, the camel-rabbitmq endpoints, if set as "bridgeEndpoint", > ignores the following

Re: Stack trace after upgrading to Camel 3.0

2020-01-10 Thread Omar Al-Safi
Hi, Java 8 should work at the moment. However, at some point in upcoming versions of 3.x, I think Java 8 support will be dropped. Referring to your error, looks like your depencides cache are not updated to camel 3.0, this method only exists in 2.14,x but not in 3.0. You can try to remove the

Re: Stack trace after upgrading to Camel 3.0

2020-01-10 Thread Omar Al-Safi
gt;>>>>> > > >>>>>>> com.fasterxml.jackson.core > > >>>>>>> jackson-databind > > >>>>>>> ${jackson-version} > > >>>>>>> > > >>>>>>> > > >>>>>

Re: Camel-kafka integration issue

2020-03-31 Thread Omar Al-Safi
You can take a look at this example which explains this in good details. Regards, Omar On Tue, Mar 31, 2020 at 2:20 PM Andrea Cosentino wrote: > You need to send something to direct. As it is you're not sending

Re: Google pubsub component broken in 3.2.0 ?

2020-05-14 Thread Omar Al-Safi
Hi Jean, I recall there was major work being done on this component and indeed, it looks to me like a bug with the associated work that was being done. Can you please file this issue as bug report under https://issues.apache.org/jira/browse/CAMEL in order to be investigated further? Regards,

Re: [ANNOUNCEMENT] Migration Tool Camel 2 --> Camel 3

2020-09-07 Thread Omar Al-Safi
Hi John, Awesome to see this and I think it is very helpful! Thank you . Regards, Omar On Thu, Sep 3, 2020 at 9:33 AM Claus Ibsen wrote: > Hi John > > Thanks for sharing this. Its great to see other kind of tooling for > Apache Camel. > Great and detailed blog post. And good to hear there

Re: Camel Salesforce Component can't find Platform Event object

2020-05-25 Thread Omar Al-Safi
Hi Anne, Which Camel version do you use here? Regards, Omar On Thu, May 21, 2020 at 8:47 AM Anne Nguyen wrote: > 0 > > I have used camel-salesforce-maven-plugin to generate the DTO and have > successfully created a Contact record. However, when I tried to emit an > event following the docs

Re: Camel website: documentation or projects

2020-06-18 Thread Omar Al-Safi
Indeed, I think documentation serves what I would expect from that page. Regards, Omar On Thu, Jun 18, 2020 at 8:59 AM Ajmera, Hemang C wrote: > Hi >Earlier in UI the mouse over on menu would should be direct link for > Components documents Now mouse over is not working. May be we can

Re: Passwords in Camel endpoint URIs and limitations of RAW syntax

2020-06-04 Thread Omar Al-Safi
Hi Florian, As Fabry mentioned, it would be worth checking to use config file to achieve this. Here is an example: https://github.com/apache/camel-examples/tree/master/examples/camel-example-debezium Regards, Omar On Thu, Jun 4, 2020 at 10:56 AM FabryProg wrote: > Hello Florian, > > Did you

Re: How to produce messages to Azure SQL DB in Camel

2020-12-10 Thread Omar Al-Safi
Hi, To write your events to your target Azure SQL server database, you can use Camel JDBC component since Azure SQL supports JDBC uses JDBC driver to connect to the database. Plus Camel Debezium SQL Server, I'd recommend using

Re: Camel Quarkus and Picocli

2020-12-02 Thread Omar Al-Safi
Hi Mikael, I did something before in Picocli, So basically, in the call method that implements Callable, I

Re: How to produce messages to Azure SQL DB in Camel

2020-12-14 Thread Omar Al-Safi
t your needs better. Regards, Omar On Fri, Dec 11, 2020 at 6:58 PM SRIKANT MVS wrote: > Thanks for your reply, how better is it to use the Camel SQL compared to > Camel JDBC. > > -Regards > Srikant > > On Thu, 10 Dec, 2020, 10:53 Omar Al-Safi, wrote: > > > Hi,

Re: Camel-K / Kafka / Avro: something broke overnight

2021-01-15 Thread Omar Al-Safi
Hi Mark, indeed it looks like the additionalProperties option is broken in 3.7.0. I am pushing a fix for both branches, 3.7.x and master branch. Regards, Omar On Thu, Jan 14, 2021 at 6:41 PM Andrea Cosentino wrote: > I don't think it is feasible from our side to get to 3.6.0, it's up to you.

Re: Azure Blob ignores LIST_BLOB_OPTIONS

2021-01-26 Thread Omar Al-Safi
Hi, Actually you are doing nothing wrong here. Apparently when you set maxResultsPerPage, in Azure client, that means it will return pageable list, now in every pagelist it will return the max blobs that you set earlier in `maxResultsPerPage` which is IMO pretty weird from Azure's side. Now in

Re: Azure Blob ignores LIST_BLOB_OPTIONS

2021-01-26 Thread Omar Al-Safi
terator) > exchange.getIn().getBody(Iterator.class); > exchange.getIn().setBody(iterator.next()); > }) > .process(exchange -> { > BlobItem item = exchange.getIn().getBody(BlobItem.class); > log.info(item); > }) > .end(); >

Re: [ANNOUNCE] Apache Camel 3.10.0 Released

2021-05-20 Thread Omar Al-Safi
Thanks Andrea! Cheers, On Thu, May 20, 2021 at 12:18 PM Andrea Cosentino wrote: > Hello Omar, > > No 3.11 will be the next LTS. This release introduce a lot of new stuff. > The next will stabilize a bit and we'll release the LTS 3.11.0 > > Cheers > > > Il gio 20 m

Re: [ANNOUNCE] Apache Camel 3.10.0 Released

2021-05-20 Thread Omar Al-Safi
Thanks Gregor! By the way, shouldn't 3.10 be supposed to be an LTS version? Regards, Omar On Thu, May 20, 2021 at 11:38 AM Gregor Zurowski wrote: > The Camel PMC is pleased to announce the release of Apache Camel 3.10.0. > > Apache Camel is an open source integration framework that empowers

Re: Kafka - Issue with additionalProperties

2021-04-28 Thread Omar Al-Safi
Hi, I guess you are using the Endpoint DSL? Which Camel version do you use here? In case you are running Camel 3.7.0, I recall the additionalProperties was broken in the kafka component and it was fixed in 3.7.1 and 3.8.0. Regards, Omar On Wed, Apr 28, 2021 at 3:19 PM anandakrishnan

Re: Bug camel-azure-storage-blob 3.7.0

2021-02-23 Thread Omar Al-Safi
Hello Chirtsian, Regarding 2). Honestly, personally I didn't try to configure the proxy to communicate with the Azure services. However, I have done some research and it looks like you will need first to build your own HttpClient with the proxy settings as stated here

Re: kafka consumer to kafka producer parition key issue

2021-04-19 Thread Omar Al-Safi
Hi Mark, When you send your message to Kafka, do you as well set the message key or you just set the partition key? Perhaps it would be great if you can post an example for your route with the headers/body that you set, that could help us here to troubleshoot the issue. Also, how many partitions

Re: kafka consumer to kafka producer parition key issue

2021-04-19 Thread Omar Al-Safi
eaders being set are the > > partition key and another string value i need to be passed. The body is > > JSON. > > I am running Kafka locally (so whatever partitions is the default) and > AWS > > MSK - 2 partitions. > > > > Mark > > > > > >