Re: JMS Transaction rollback with dead letter channel using Apache Camel

2019-06-26 Thread Zheng Feng
It looks like you need the JTA transaction manager to handle a XA transaction between the JMS_ONE and JMS_TWO. On Wed, Jun 26, 2019 at 3:01 PM sujin sr wrote: > I am facing a issue while trying to implement JMS transaction using Camel. > > Here is the scenario > > 1. Primary route which read the

Re: Camel netty requestTimeout doesn't work properly

2020-06-12 Thread Zheng Feng
It seems related to https://issues.apache.org/jira/browse/CAMEL-14363. I just checked the PR [1] and it looks a little bit strange to delete the codes which remove the timeout handler after receiving a response. [1] https://github.com/apache/camel/pull/3460 On Fri, Jun 12, 2020 at 3:38 PM Claus I

Re: Camel netty requestTimeout doesn't work properly

2020-06-15 Thread Zheng Feng
Feel free to assign the issue to me and I can take a look at it. On Mon, Jun 15, 2020 at 5:22 PM Claus Ibsen wrote: > Hi > > Yeah that may seem a bit weird too. Lets create a JIRA and investigate > > On Fri, Jun 12, 2020 at 10:07 AM Zheng Feng wrote: > > > >

Re: Camel netty requestTimeout doesn't work properly

2020-06-16 Thread Zheng Feng
5, 2020 at 7:39 PM Claus Ibsen wrote: > Hi > > On Mon, Jun 15, 2020 at 11:27 AM Zheng Feng wrote: > > > > Feel free to assign the issue to me and I can take a look at it. > > > > Thanks I created a ticket > https://issues.apache.org/jira/browse/CAMEL-15195 > &

Re: Camel netty requestTimeout doesn't work properly

2020-06-17 Thread Zheng Feng
/camel/blob/master/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyRequestTimeoutIssueTest.java [2] https://github.com/apache/camel/pull/3925 On Tue, Jun 16, 2020 at 5:32 PM Zheng Feng wrote: > I just took some investigating with this issue. It looks like that

Re: CDI + SJMS + transacted

2020-08-30 Thread Zheng Feng
d by CAMEL-14918 [3], and I will try to backport it to the 3.4.x Regards, Zheng Feng [1] https://camel.apache.org/components/latest/sjms-component.html [2] https://github.com/jbosstm/quickstart/tree/master/jta-1_2-standalone [3] https://github.com/apache/camel/commit/4421b2bba294dd8828621684c7670f

Re: CDI + SJMS + transacted

2020-09-01 Thread Zheng Feng
n the durable topic as forever even > after restart. So, I'm not sure if my expectation are correct i.e. does it > supposed to stay in the topic after error handler redeliveries are > exhausted? > > Cheers, > Dmitry > > > -Original Message- > From: Zheng Fe

Re: CDI + SJMS + transacted

2020-09-01 Thread Zheng Feng
2020 at 2:09 PM Zheng Feng wrote: > Yeah, TomEE could provide the "java:/TransactionManager" since it is a > J2EE container. I wonder if you use the "transacted=true" option on the > sjms consumer which will rollback the transaction if the router is failed. > > &g

Re: CDI + SJMS + transacted

2020-09-02 Thread Zheng Feng
aticManagedRuntime.java#L55 > > Le mer. 2 sept. 2020 à 08:33, Zheng Feng a écrit : > > > FYI, I just raised https://github.com/apache/camel/pull/4151 to backport > > the fix of CAMEL-14918 to 3.4.x. Also I test the "transacted=true" which > > the sjms consumer that

Re: CDI + SJMS + transacted

2020-09-09 Thread Zheng Feng
Hi Dmitry, It seems that the TransactionManager can not be accessed via "java:/TransactionManager" and I am not an expert of TomEE also I am not sure if there is a way to set the transaction manager jndi name in the configuration file ? Regards, Zheng Feng On Wed, Sep 9, 2020 at 3:18

Re: JDBC transacted route // rollback not in-effect

2020-09-24 Thread Zheng Feng
Hi, What version of Camel do you use ? I think we have fixed the similar issue with https://issues.apache.org/jira/browse/CAMEL-13529 On Fri, Sep 25, 2020 at 4:50 AM Reji Mathews wrote: > Hello community > > I have a transacted route with a jdbc operation. It has a > DataSourceTransactionManage

Re: Transacted routes with camel // JtaTransactionManager exception

2020-09-24 Thread Zheng Feng
It looks like you have to configure the JtaTransactionManger with some backend JTA implementaions. On Thu, Sep 24, 2020 at 11:05 PM Reji Mathews wrote: > Hello community > > I am trying to write a transacted route following the block diagram in > Camel in action book section 12.2.1 > > Using org

Re: Camel-Netty Security Vulnerability (CWE-295/BDSA-2018-4022) - Hostname verification

2021-01-11 Thread Zheng Feng
It looks like we had resolved the similar issue in https://issues.apache.org/jira/browse/CAMEL-14070 to support SNI. So IMO, the camel-netty-http will not be affected by this vulnerability. On Mon, Jan 11, 2021 at 9:43 PM Ravi Sunchu wrote: > Hi All: > > In a project where we are using camel-net

Re: SMPP Splitting Policy (140+ octets)

2021-03-12 Thread Zheng Feng
Did you try to use 'SubmitMulti' ? just like exchange.getIn().setHeader(SmppConstants.COMMAND, "SubmitMulti"); Please refer to the test method sendSubmitMultiSM() in SmppComponentIntegrationTest.java On Fri, Mar 12, 2021 at 1:56 AM Thomas O'Donnell < thomas.odonn...@mdsglobal.com> wrote: > Hi all

Re: SMPP Splitting Policy (140+ octets)

2021-03-16 Thread Zheng Feng
heng, > > Thank you, that worked. Do you always have to manually set the > SmppCommandType in the header? I.e. Camel won't do it automatically based > on message size? > > Is there any way to default to SubmitMulti for all requests? > > Regards, > > Tommy > &g

Re: camel-quarkus-dozer. Error when running native executable

2021-04-07 Thread Zheng Feng
Hi Federico, I can reproduce this issue with the camel-quarkus-dozer and please raise an issue on https://github.com/apache/camel-quarkus/issues. I think it should be fixed in the camel-quarkus. Thanks, Zheng Feng On Wed, Apr 7, 2021 at 10:22 PM Federico Sajeva wrote: > Thank you Alexan

Re: [External] Re: Looking for a transactional solution

2021-04-08 Thread Zheng Feng
Hi Brenneis, Have you ever tried to set "transacted=true" with the incoming queue ? Just like > > > > > > > > > > > > > > > https://clicktime.symantec.com/3NL8rtk3CaQa9bJreF5FDn7Vc?u=https%3A%2F%2Fcamel.apache.org%2Fcomponents%2F3.4.x%2Feips%2Ftransactional-client.h

Re: Camel 3.10 camel-sjms2 transactions will do not work with onCompletion defined.

2021-06-30 Thread Zheng Feng
Thanks Nick for reporting this issue and I will take a look. On Thu, Jul 1, 2021 at 12:00 AM Nick Paul wrote: > https://issues.apache.org/jira/browse/CAMEL-16772 has been submitted. > > > Nick > Paul > > > On Wed, Jun 30, 2021 at 1:47 AM Claus Ibsen wrote: > > > Hi > > > > Yes this is a strange

Re: Camel 3.10 camel-sjms2 transactions will do not work with onCompletion defined.

2021-06-30 Thread Zheng Feng
I found the root cause is related to TransactionOnCompletion which has not been added. It seems like a bug with its equal() method. I will send a PR to fix it. On Thu, Jul 1, 2021 at 12:00 AM Nick Paul wrote: > https://issues.apache.org/jira/browse/CAMEL-16772 has been submitted. > > > Nick > P

Re: Apache Camel single transaction with oracle aq and row inserts

2021-10-15 Thread Zheng Feng
It looks like you need an external JTA TransactionManager to coordinate these two resources ( oneis database and the other is Oracle AQ). On Fri, Oct 15, 2021 at 10:20 PM Mattern, Alex wrote: > Any advice on having one Oracle connection reused for both insert and jms > within the same transactio

Re: Apache Camel single transaction with oracle aq and row inserts

2021-10-18 Thread Zheng Feng
AQ table > and another table. So I don't believe that an external JTA > TransactionManager is required since this is not a distributed transaction. > This should be a single transaction on a single resource, namely Oracle DB. > -- > Alex Mattern > > -Original Message---

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

2022-03-01 Thread Zheng Feng
I wonder if there is any issue to track this upgrading to snmp4j 3,x with camel-snmp ? On Tue, Mar 1, 2022 at 5:19 PM Claus Ibsen wrote: > Hi > > camel-snmp is using an older 2.x version of snmp4j and it may be > limited what it can do. > > there is a 3.x version of snmp4j > https://www.snmp4j.o

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

2022-03-01 Thread Zheng Feng
(86)13986295819 > Fixed Phone: 86-27-59553805 > Planned Personal leave: > > -Original Message- > From: Zheng Feng > Sent: Tuesday, March 1, 2022 5:22 PM > To: users@camel.apache.org > Subject: Re: Question : Whether the camel-snmp 3.14.1 support consuming > snmpv3 trap

Re: Using split() in a transacted sub route (camel-3.13.0) bloks the route

2022-03-02 Thread Zheng Feng
Hi Erik, This is a known issue https://issues.apache.org/jira/browse/CAMEL-17474 and it will be fixed in the coming release of 3.14.2 and 3.16.0. On Thu, Mar 3, 2022 at 7:20 AM Erik Svendsen wrote: > I have encountered the following issue when I updated from camel-3.12.0 to > camel-3.13.0 (and

Re: camel-openapi-java - rendering the API causes ClassCastException

2022-05-18 Thread Zheng Feng
Hi Martin, Please raise a JIRA issue with https://issues.apache.org/jira/browse/CAMEL. And do you have a handy re-producer and what is the expected rendering output? Regards, Zheng Feng On Wed, May 18, 2022 at 10:35 PM Martin Lichtin wrote: > There's a bean with this annotation > &

Re: Camel-Saga is not maintain the tracing

2022-06-10 Thread Zheng Feng
Hi Chio Chuan, Feel free to raise a PR and I can take a look at it. Thanks, Zheng Feng On Sat, Jun 11, 2022 at 12:10 PM Chio Chuan Ooi wrote: > Hi Claus, > > Ticket https://issues.apache.org/jira/browse/CAMEL-18186 created for the > issue. > > I have some solution/workarou

Re: Route method is remove from RestDefinition

2022-07-19 Thread Zheng Feng
Please check https://camel.apache.org/manual/camel-3x-upgrade-guide-3_16.html#_removed_support_for_embedded_routes On Tue, Jul 19, 2022 at 8:49 PM Chio Chuan Ooi wrote: > Hi Mates, > > i used to create the rest route using below which we can set the routeid. > But in the latest 3.18.0 version, t

Re: Route method is remove from RestDefinition

2022-07-19 Thread Zheng Feng
Well, you can set route id in the direct router just like: rest("/users/") .post("lives").type(UserPojo.class).outType(CountryPojo.class) .to("direct:users-lives); from("direct:users-lives).routeId("id"); On Wed, Jul 20, 2022 at 12:24 PM Chio Chuan Ooi

Re: Route method is remove from RestDefinition

2022-07-19 Thread Zheng Feng
Sorry, you want to set the route id of the rest route? On Wed, Jul 20, 2022 at 1:04 PM Zheng Feng wrote: > Well, you can set route id in the direct router just like: > > rest("/users/") > .post("lives").type(UserPojo.class).outType(CountryPojo.class) >

Re: Route method is remove from RestDefinition

2022-07-19 Thread Zheng Feng
like rest("/users/").id("rest_route_id") On Wed, Jul 20, 2022 at 1:07 PM Zheng Feng wrote: > Sorry, you want to set the route id of the rest route? > > On Wed, Jul 20, 2022 at 1:04 PM Zheng Feng wrote: > >> Well, you can set route id in the direc

Re: Route method is remove from RestDefinition

2022-07-19 Thread Zheng Feng
.get() > .bindingMode(RestBindingMode.auto) > .to("direct:test"); > > > Thanks and Regards, > Chio Chuan > > > On Wed, Jul 20, 2022 at 1:21 PM Chio Chuan Ooi > wrote: > > > Ok, let me try that out. > > > > Thanks an

Re: upgrade to camel 3 mybatis issues

2022-07-21 Thread Zheng Feng
Please file a CAMEL issue on https://issues.apache.org/jira/browse/CAMEL On Thu, Jul 21, 2022 at 7:54 PM Dan Raceala wrote: > Hi, > Our team is trying to upgrade to camel 3.14.4 from camel 2.25.1 > > We use mybatis with camel-mybatis. > > In 2.25.1 was possible to set Map as body to camel parame

Re: "No transaction in progress" between transacted JPA endpoints

2022-08-04 Thread Zheng Feng
What kind of JEE container are you using? It could be useful to share the source codes. On Thu, Aug 4, 2022 at 5:54 PM wrote: > Hi, > > I have trouble starting a route between JPA endpoints, that fails with > "javax.persistence.PersistenceException: > javax.persistence.TransactionRequiredExcepti

Re: Apache Camel deadlock on heavy load!

2022-10-20 Thread Zheng Feng
Hi, Is it possible to check with the latest 3.19.0 release to see if it works? On Fri, Oct 21, 2022 at 1:35 AM hakim hejam wrote: > Hello, > We notice under some circumstances of heavy load and request (more the 1000 > requests at the same time), threads used by Camel are still in a waiting > s

Re: File component fails with charsets

2022-11-03 Thread Zheng Feng
Well, since you are using Fuse 6.3 and I think it is supported by Red Hat. So it would be better to open a case to get more support from them. On Thu, Nov 3, 2022 at 7:49 PM Ephemeris Lappis wrote: > Hello. > > I'm afraid we can't switch to a newer version. Our customer production > system is Fu

Re: File component fails with charsets

2022-11-03 Thread Zheng Feng
I just checked the commits history. And it seems related to this change [1] which switched to using Files.newBufferedWriter since camel-2.20.0. So your example is failing with camel > 2.20.0 For Red Hat Fuse, it might backport this commit to their products and your customer should check it with the

Re: File component fails with charsets

2022-11-03 Thread Zheng Feng
Hi, For Red Hat Fuse, please check https://issues.redhat.com/browse/ENTESB-15441 and https://access.redhat.com/solutions/5649371. I think this could explain this issue. On Fri, Nov 4, 2022 at 12:07 AM Zheng Feng wrote: > I just checked the commits history. And it seems related to this cha

Re: How to contribute component?

2022-11-30 Thread Zheng Feng
Hi, Please refer to https://camel.apache.org/community/contributing/ at first and I think you could describe your component. It's also helpful to open a JIRA on https://issues.apache.org/jira/browse/CAMEL for a new component. Thanks, Zheng Feng On Thu, Dec 1, 2022 at 11:35 AM sheng zhou

Re: How to contribute component?

2022-12-02 Thread Zheng Feng
y in your environment? > > > > ચિરાગ/चिराग/Chirag > > -- > > Sent from My Gmail Account > > > > > > On Wed, Nov 30, 2022 at 11:15 PM Zheng Feng wrote: > > > > > > Hi, > > > > > > Pl

Re: [VOTE] Release Apache Camel 4.2.0

2023-11-11 Thread Zheng Feng
+1 (non-binding) On Sat, Nov 11, 2023 at 9:08 PM Gregor Zurowski wrote: > Hi Everyone: > > This is a vote to release Apache Camel 4.2.0, a new release with 115 > fixes and improvements. > > Release notes: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12353662&projectId=1231121

Re: Saga with LRA service not executing comp* routes

2024-05-11 Thread Zheng Feng
What runtime framework did you use? spring-boot or quarkus? And have you set some properties with "camel.lra.coordinator-url" and "camel.lra.local-participant-url" ? The LRA service is running on the same network with your application? it should access the internal rest paths and route to the righ

Re: Svar: Re: Saga with LRA service not executing comp* routes

2024-05-11 Thread Zheng Feng
one. > Old that be an issue? I expect the properties is enough > > /M > > Den 11 maj 2024 kl 11:19, Zheng Feng <[zf...@redhat.com](mailto:Den 11 > maj 2024 kl 11:19, Zheng Feng < skrev: > > > What runtime framework did you use? spring-boot or quarkus? > >

Re: Svar: Re: Svar: Re: Saga with LRA service not executing comp* routes

2024-05-12 Thread Zheng Feng
, Mikael Andersson Wigander > <[mikael.andersson.wigan...@pm.me.INVALID](mailto:Den 11 maj 2024 kl > 12:16, Mikael Andersson Wigander < skrev: > > > Of course I need to isolate the code and create a sample repo. > > > > I’ll be back > > > > /M > > > > Den 11 maj 20

Re: Svar: Re: Svar: Re: Saga with LRA service not executing comp* routes

2024-05-13 Thread Zheng Feng
=8180 quay.io/jbosstm/lra-coordinator:latest" On Mon, May 13, 2024 at 2:44 PM Zheng Feng wrote: > Thanks and it looks like there are some configuration issues. please check > https://camel.apache.org/components/4.4.x/others/lra.html > Also there is no need to add LRASagaSer

Re: Saga with LRA service not executing comp* routes

2024-05-13 Thread Zheng Feng
> > /M > > Den 13 maj 2024 kl 09:32, Zheng Feng <[zf...@redhat.com](mailto:Den 13 > maj 2024 kl 09:32, Zheng Feng < skrev: > > > Sorry, your project is good and the problem is the way you run the > narayana > > lra coordinate server. It needs access to the part

Re: Camel Quarkus LRA on K8

2024-05-19 Thread Zheng Feng
Hi, Maybe you can take a look at https://github.com/apache/camel-k-examples/tree/main/generic-examples/saga On Sat, May 18, 2024 at 10:39 PM Mikael Andersson Wigander wrote: > Hi, me again :) > > Recently I posted an ask about Saga and LRA and got everything working > with an external coordinat

Re: Svar: Re: Camel Quarkus LRA on K8

2024-05-20 Thread Zheng Feng
ed to make a ticket for? > > /M > > Den 19 maj 2024 kl 15:43, Zheng Feng <[zf...@redhat.com](mailto:Den 19 > maj 2024 kl 15:43, Zheng Feng < skrev: > > > Hi, > > > > Maybe you can take a look at > > > https://github.com/apache/camel-k-examples

Re: Camel AWS Athena SDK

2024-11-19 Thread Zheng Feng
Hi David, Can you describe more about your scenario? Do you want to run Athean and other data sources in an XA transaction? What transaction manager did you use, is it quarkus-narayana-jta? On Wed, Nov 20, 2024 at 7:19 AM David Hoffer wrote: > https://camel.apache.org/components/4.8.x/aws2-athe

Re: Camel AWS Athena SDK

2024-11-19 Thread Zheng Feng
We found > that adding: unsafe-multiple-last-resources: allow to the > transaction-manager > > works but it's deprecated and warns it may/will be removed in the future. > > > Is this possible for all to be XA? > > Thanks, > > -David > > > On Tue, Nov 19, 2

Re: Camel AWS Athena SDK

2024-11-19 Thread Zheng Feng
aws2-athena-component.html, it looks like that does not support transactions at all. > > > Thanks, > -David > > > On Tue, Nov 19, 2024 at 5:57 PM Zheng Feng wrote: > > > OK, I see. So you are using PG and MongoDB and Ahtena in one service, > but I > > think only PG

Re: trouble passing xslt URI or content as resource in camel 4.6.0 xslt-saxon

2024-11-13 Thread Zheng Feng
Hi Mitch, Try this following one and see the XsltTemplateFromHeaderOverrideEndpointUriTest.java .setHeader("CamelXsltStylesheet", simple("fi