RE: How to set custom header(s) on message sent to Azure Service Bus

2024-02-20 Thread Shultz, Dmitry
CamelAzureServiceBusCorrelationId at the same time). In case there would be a fix for the CamelAzureServiceBusCorrelationId, how likely that is would be ported to the Java 8 Camel? From: Andrea Cosentino Sent: Tuesday, February 20, 2024 9:45 AM To: Shultz, Dmitry Cc: users@camel.apache.org Subject: Re: How

RE: How to set custom header(s) on message sent to Azure Service Bus

2024-02-20 Thread Shultz, Dmitry
Yes, I followed this code https://stackoverflow.com/a/73886983 and nothing ended up being set. Also, as I said setting the ServiceBusConstants.CORRELATION_ID has no effect when checked at the destination. From: Andrea Cosentino Sent: Tuesday, February 20, 2024 3:17 AM To: Shultz, Dmitry Cc

RE: How to set custom header(s) on message sent to Azure Service Bus

2024-02-09 Thread Shultz, Dmitry
Next week would be awesome! Thanks Andrea. From: Andrea Cosentino Sent: Friday, February 9, 2024 11:06 AM To: Shultz, Dmitry Cc: users@camel.apache.org Subject: Re: How to set custom header(s) on message sent to Azure Service Bus Sorry, i still have to look at this. I hope to find some time

RE: How to set custom header(s) on message sent to Azure Service Bus

2024-02-09 Thread Shultz, Dmitry
. Dmitry From: Andrea Cosentino Sent: Wednesday, January 17, 2024 10:18 AM To: users@camel.apache.org Subject: Re: How to set custom header(s) on message sent to Azure Service Bus I'll try to check tomorrow and get back to you. Sorry for the late reply Il mer 17 gen 2024, 19: 08 Shultz, Dmitr

Re: How to set custom header(s) on message sent to Azure Service Bus

2024-01-17 Thread Shultz, Dmitry
Have anybody used/successfully set headers on the message sent to Azure Service Bus before? Dmitry Shultz Senior Software Developer [cid:image001.png@01D051C6.BA585530] 1540 Kalamalka Lake Rd. Vernon, BC V1T 6V2 t: 1-250-541-5447 KalTire.com From: Shultz

How to set custom header(s) on message sent to Azure Service Bus

2024-01-03 Thread Shultz, Dmitry
Hi, I'm following this https://stackoverflow.com/questions/73886170/how-to-add-custom-properties-or-label-subject-for-azure-servicebus-topic-message trying to set some custom headers for messages sent to Azure Service Bus, but when I read the same message from the service bus it has no custom h

RE: ProducerTemplate is waiting on something

2023-05-04 Thread Shultz, Dmitry
Btw, just realized there are 3 different timeouts available on Camel HTTP component (!) https://camel.apache.org/components/3.20.x/http-component.html#_using_client_timeout_so_timeout, will go with that. From: Shultz, Dmitry Sent: Thursday, May 4, 2023 11:38 AM To: users@camel.apache.org

RE: ProducerTemplate is waiting on something

2023-05-04 Thread Shultz, Dmitry
something Hi There is a mbean under services (I think) that has something with await manager - it has operations to list the blocked On Thu, May 4, 2023 at 8: 01 PM Shultz, Dmitry wrote: > Thanks Claus, it helped a ZjQcmQRYFpfptBannerStart This Message Is From an External Sen

RE: ProducerTemplate is waiting on something

2023-05-04 Thread Shultz, Dmitry
ituation (it did that in the past) On Thu, May 4, 2023 at 12:44 AM Shultz, Dmitry mailto:dmitry_shu...@kaltire.com>> wrote: > Hi All, > > We are having occasional problems with the some app using Camel 3.14.1 > rest routes and running in TomEE. After a while TomEE/To

ProducerTemplate is waiting on something

2023-05-03 Thread Shultz, Dmitry
Hi All, We are having occasional problems with the some app using Camel 3.14.1 rest routes and running in TomEE. After a while TomEE/Tomcat https interface became unresponsive. Looking at the thread dump I can see a lot of threads in such state: "https-jsse-nio-7443-exec-107" - Thread t@504

Re: Migrating from camel-zookeeper to zookeeper-master

2022-02-11 Thread Shultz, Dmitry
From: Shultz, Dmitry Sent: 08 February 2022 17:50 To: users@camel.apache.org Subject: Migrating from camel-zookeeper to zookeeper-master Hi All, While migrating service that used camel-zookeeper (Camel 2.25.xx) to a newer Camel (3.14.1) zookeeper-master I'm facing this issue: 2022-0

Migrating from camel-zookeeper to zookeeper-master

2022-02-08 Thread Shultz, Dmitry
Hi All, While migrating service that used camel-zookeeper (Camel 2.25.xx) to a newer Camel (3.14.1) zookeeper-master I'm facing this issue: 2022-02-08 17:25:14.265 [pool-26-thread-1] ERROR o.a.c.c.z.g.internal.ZooKeeperGroup - org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCod

Invoke method in Predicate

2021-12-08 Thread Shultz, Dmitry
Hi All, I'm migrating some service from 2.25 to 3.13 using the migration guide - so far so good, but there is one thing I can't figure out (in a reasonable amount of time). The code that compiles in 2.25 looks like this: Predicate hasNoEmail = and(body().isInstanceOf(Some.class), bodyAs(Some.c

quarked-ddns project

2021-05-31 Thread Shultz, Dmitry
Hi All, JFYI I Open Sourced some small (but hopefully useful) project where Quarkus happily rides the Camel https://github.com/zeppelinux/quarked-ddns, check it out if you need some simple Dynamic DNS. Code reviews/suggestions are welcome too (hope I'm not going to be banned for spam :) Chee

RE: Quarkus/Camel app native executable - method not found on bean

2021-05-26 Thread Shultz, Dmitry
!LH2R1jDKmRLOKqB3qQyDlW4QwmoZuYS3Np5rTKxTHOGvBryssB1p_GpEiIKrLGqcmyBd$ hth, Alex On Mon, May 24, 2021 at 6:30 AM Shultz, Dmitry wrote: > Hi All, > > > > I have this simple Quarkus app > <https://urldefense.com/v3/__https://github.com/zeppelinux/gwifi-dynd

Quarkus/Camel app native executable - method not found on bean

2021-05-23 Thread Shultz, Dmitry
Hi All, I have this simple Quarkus app and it works as expected in JVM mode, but fails on the error below when compiled to native linux executable: 2021-05-24 04:17:31,243 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) bootstrap runtime: o

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

2021-01-12 Thread Shultz, Dmitry
David, It will be great if you can specify what problems exactly K-car is solving. I scanned through the readme and still not sure, sorry. Having some simple project (so everybody can compare it with CDI/TomEE based one for example) in the repo implemented using it would be good too. Cheers, D

Re: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-28 Thread Shultz, Dmitry
You need to let Spring know about your bean, do Camel can find it. Now you are self instantiating it and not registering anywhere. From: Peter Turányi Sent: 27 October 2020 08:20 To: users@camel.apache.org Subject: RE: Camel CXF with SOAP 1.1 and SOAP 1.2 Thank

RE: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-26 Thread Shultz, Dmitry
Did you tried to look it up? https://www.google.com/search?rlz=1C1CHBF_enCA774CA774&ei=4w2XX_6qJ4jg-gTjhqnYAw&q=cxf+camel+java.io.IOException%3A+Could+not+find+destination+factory+for+transport+http%3A%2F%2Fschemas.xmlsoap.org%2Fsoap%2Fhttp&oq=cxf+camel+java.io.IOException%3A+Could+not+find+destin

Re: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-23 Thread Shultz, Dmitry
Everybody was in the same boat, no worries. Best place to start (if replies in the email list doesn't do it) is Camel online documentation, here is for CXF component https://camel.apache.org/components/latest/cxf-component.html BTW, it has serviceClass mentioned 10 times(!) Also, have a look a

RE: Camel CXF with SOAP 1.1 and SOAP 1.2

2020-10-22 Thread Shultz, Dmitry
Reading the error message (and specifying serviceClass url parameter as it clearly asks) should help. From: Peter Turányi [mailto:peter.tura...@pobox.sk] Sent: Thursday, October 22, 2020 6:33 AM To: users@camel.apache.org Subject: RE: Camel CXF with SOAP 1.1 and SOAP 1.2 I am sorry but I didn'

RE: CDI + SJMS + transacted

2020-09-09 Thread Shultz, Dmitry
make it ‘nicer’ (or maybe I’m missing anything) –any suggestion will be appreciated ☺. Cheers, Dmitry From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] Sent: Wednesday, September 9, 2020 10:55 AM To: Shultz, Dmitry Cc: users@camel.apache.org Subject: Re: CDI + SJMS + transacted As

RE: CDI + SJMS + transacted

2020-09-09 Thread Shultz, Dmitry
thing else I can try? Cheers, Dmitry From: Romain Manni-Bucau [mailto:rmannibu...@gmail.com] Sent: Wednesday, September 9, 2020 12:56 AM To: users@camel.apache.org Cc: Shultz, Dmitry Subject: Re: CDI + SJMS + transacted In hibernate configuration, you can try to force t

RE: CDI + SJMS + transacted

2020-09-08 Thread Shultz, Dmitry
sappears from the topic. Note when using 3.4.5 message stays unacknowledged, I will stick to 3.4.5 for now... Please let me know if you need any more info. Cheers, Dmitry From: Shultz, Dmitry Sent: Wednesday, September 2, 2020 9:17 PM To: Zheng Feng ; users@camel.apache.org Subject: Re: CDI

Re: CDI + SJMS + transacted

2020-09-02 Thread Shultz, Dmitry
ntainer. I wonder if you use the "transacted=true" option on the sjms consumer which will rollback the transaction if the router is failed. On Tue, Sep 1, 2020 at 4:35 AM Shultz, Dmitry wrote: > Thanks for the reply Zheng. > > I'm running very similar code in the Tom

RE: CDI + SJMS + transacted

2020-08-31 Thread Shultz, Dmitry
1684c7670f78d811ecd8*diff-773b20d331dac13fb17acfa0f58ac01f__;Iw!!LdWlNaMnLCM!OJ-X6YfRy0exjKJ8PNWy-d5aHbD6mgnBfTRZXXKak6kEojLVTmcKwcF4puKY9F_CLTBw$ On Sat, Aug 29, 2020 at 5:50 AM Shultz, Dmitry wrote: > Hi All, > > I'm probably doing something wrong/stupid, but I can't get the sjms > (r

RE: SJMS2 durable subscription lazy re-connect

2020-08-28 Thread Shultz, Dmitry
ps://urldefense.com/v3/__https://camel.apache.org/community/support/__;!!LdWlNaMnLCM!IyzVpU09xWlFt6zbUvbaDjk6XvlBfCI-r_V--mIk6M7RtGV2mVKZ249-bOxp-TWq2LG6$ On Thu, Aug 20, 2020 at 11:37 PM Shultz, Dmitry wrote: > > Thanks Claus. > > I'm on v2.25.1 (TomEE + CDI) and didn&#x

CDI + SJMS + transacted

2020-08-28 Thread Shultz, Dmitry
Hi All, I'm probably doing something wrong/stupid, but I can't get the sjms (recent Camel, but same true for 2.25.2) to leave failed messages in the JMS topic (AMQ Artemis) after exception. This is what logged: [ctiveMQ-client-global-threads)] TransactionErrorHandlerWARN Transaction

RE: SJMS2 durable subscription lazy re-connect

2020-08-20 Thread Shultz, Dmitry
till X times. In Camel 2 that controller was implemented as an experiment so you may find it there and try to use it for 2.25.x On Wed, Aug 19, 2020 at 10:08 PM Shultz, Dmitry wrote: > > Hi All, > > I'm migrating the service from camel-jms to came-sjms2 component (connect

Re: Hibernate 5 session exception - after camel 3 migration

2020-08-19 Thread Shultz, Dmitry
I believe reproducer will help to get some help in this case. Cheers, Dmitry From: rinilnath r Sent: 19 August 2020 18:47 To: users@camel.apache.org Subject: Re: Hibernate 5 session exception - after camel 3 migration Can someone help me please with the below me

SJMS2 durable subscription lazy re-connect

2020-08-19 Thread Shultz, Dmitry
Hi All, I'm migrating the service from camel-jms to came-sjms2 component (connecting to Artemis brokers) and it all good except of one change in behaviour which breaks the Kubernetes redeployment. When service app (helm) is redeployed using Ranched UI it brings the new service pod up, checks i

RE: Create ErrorHandler class

2020-08-10 Thread Shultz, Dmitry
Firas On 8/7/20, 6:38 PM, "Shultz, Dmitry" wrote: EXTERNAL You can customize the DeadLetterChannelBuilder the way you want it and register it in your RouteBuilder. Cheers, Dmitry -Original Message- From: Firas Khasawneh [mail

RE: Create ErrorHandler class

2020-08-07 Thread Shultz, Dmitry
You can customize the DeadLetterChannelBuilder the way you want it and register it in your RouteBuilder. Cheers, Dmitry -Original Message- From: Firas Khasawneh [mailto:firas.khasaw...@sas.com.INVALID] Sent: Friday, August 7, 2020 5:45 AM To: users@camel.apache.org Subject: Re: Create E

RE: Camel Multicast sync vs async

2020-07-09 Thread Shultz, Dmitry
Hi Reji, Not sure, but it looks like you want to wiretap the seda:B route while multicasting to the other two. Cheers, Dmitry -Original Message- From: Reji Mathews [mailto:contactr...@gmail.com] Sent: Thursday, July 9, 2020 1:24 PM To: users@camel.apache.org Subject: Camel Multicast

RE: errorHandler + onException

2020-05-28 Thread Shultz, Dmitry
e... 12:41:19.154 [main] INFO route6 - token is good I.e. route2 is started twice before getting into the doCatch() code. Im curious why this is happening? Cheers, Dmitry -Original Message- From: Shultz, Dmitry Sent: Wednesday, May 27, 2020 3:26 PM To: users@camel.apache.org Subject:

RE: errorHandler + onException

2020-05-27 Thread Shultz, Dmitry
Sorry, there is some typo te defaultEndpoint should be the top level route : template.setDefaultEndpointUri("direct:route1"); -Original Message----- From: Shultz, Dmitry [mailto:dmitry_shu...@kaltire.com] Sent: Wednesday, May 27, 2020 3:04 PM To: users@camel.apache.org Subject: er

errorHandler + onException

2020-05-27 Thread Shultz, Dmitry
Hi All, What is the best way to handle the situation when there is a need to automatically adjust the exchange as part of the error handling and proceed with retry? For example, there is a route1 that invokes route2 with the 'token' property set. When, during the route2 execution there is a

Re: No bean could be found in the registry for: quartz of type: org.apache.camel.spi.ScheduledPollConsumerScheduler

2020-05-07 Thread Shultz, Dmitry
: org.apache.camel.spi.ScheduledPollConsumerScheduler Hi You are using Camel 2.x and looking at the documentation for "latest" which is Camel 3.x. Change the docs to 2.x, there is a drop down in the bottom left corner. On Thu, May 7, 2020 at 2:33 AM Shultz, Dmitry wrote: > > Hi All, &

No bean could be found in the registry for: quartz of type: org.apache.camel.spi.ScheduledPollConsumerScheduler

2020-05-06 Thread Shultz, Dmitry
Hi All, I'm following the example of using Polling Consumer scheduler in https://camel.apache.org/components/latest/quartz-component.html, here is the route from(file://inbox?scheduler=quartz&scheduler.cron= 0 * * ? * * *).log("it works") it fails with: org.apache.webbeans.portable.events.di

Alternative for org.apache.camel.component.bean.BeanInvocation

2020-02-05 Thread Shultz, Dmitry
Hi All, I see the org.apache.camel.component.bean.BeanInvocation deprecated, but there is no message about the reason and I can't find any info about what to use instead of it. I'm using it for SOAP requests marshaling using only SoapJaxbDataFormat and http4 component. Camel v2.25.0 Cheers,

RE: Java DSL cxf SOAP call (client)..

2019-11-04 Thread Shultz, Dmitry
Hey John, I'm using org.apache.cxf:cxf-codegen-plugin in pom.xml, it builds all the classes in let's say com.somecompany.model package. Then the route looks like this: SoapJaxbDataFormat soap = new SoapJaxbDataFormat(com.somecompany.model. ServicePort.class.getPackage().getName(), new Service

RE: Mime Multipart DataFormat+ HTTP4 (POST)

2019-09-26 Thread Shultz, Dmitry
;orderId") String orderId) { return MultipartEntityBuilder.create() .addBinaryBody("entity", invoice.getBytes(), ContentType.APPLICATION_JSON, orderId) .build(); } Cheers, Dmitry -Original Message- From: Shultz, Dmitry [mailto:dmitry_shu...@k

Mime Multipart DataFormat+ HTTP4 (POST)

2019-09-24 Thread Shultz, Dmitry
Hi All, Is there any code sample of how to use the Mime Multipart DataFormat (https://camel.apache.org/components/latest/mime-multipart-dataformat.html) for sending some xml payload using HTTP4 component? I need to send it to the REST service using POST and can't figure it out. Cheers, Dmitry

SftpEndpoint + privateKey bytes[] + poolEnrich

2019-08-29 Thread Shultz, Dmitry
Hi All, I have an SftpEndpoint, which is configured to use the private key bytes (using SftpConfiguration.setPrivateKey(byte[]), and the poolEnrich() that is using this endpoint to fetch some file. The problem I'm facing is that poolEnrich() doesn't accept Endpoint as a parameter (accepts onl

RE: Using RSA byte array in ftp camel route

2019-07-26 Thread Shultz, Dmitry
Hi Sherwin, I used the SftpConfiguration object to configure it for the endpoint, here is the code: public Endpoint sftpEndpoint() { SftpEndpoint endpoint = context.getEndpoint(sftpUrl, SftpEndpoint.class); SftpConfiguration config = endpoint.getConfiguration(); config.s

RE: NotifyBuilder.whenDoneSatisfied(Mock) deprecated

2019-07-05 Thread Shultz, Dmitry
, 2019 at 8:15 PM Shultz, Dmitry wrote: > > Thanks Claus, I'm still puzzled though. > > This is what I see in the migration doc > (https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_camel_blob_master_MIGRATION.md&d=DwIFaQ&am

RE: NotifyBuilder.whenDoneSatisfied(Mock) deprecated

2019-07-05 Thread Shultz, Dmitry
Ah okay yeah all the mock stuff has been deprecated and its removed in Camel 3. Some of the other deprecated stuff we have added hints in javadoc what else to use. Also see the migration guide for Camel 3 etc. On Fri, Jul 5, 2019 at 6:44 PM Shultz, Dmitry wrote: > > Claus, > > I

RE: NotifyBuilder.whenDoneSatisfied(Mock) deprecated

2019-07-05 Thread Shultz, Dmitry
8:24 PM To: users@camel.apache.org Subject: Re: NotifyBuilder.whenDoneSatisfied(Mock) deprecated Hi They are deprecated in preparation for Camel 3. See the javadoc of that method which points to what else to use On Fri, Jul 5, 2019 at 1:13 AM Shultz, Dmitry wrote: > > Hi there, >

NotifyBuilder.whenDoneSatisfied(Mock) deprecated

2019-07-04 Thread Shultz, Dmitry
Hi there, There are several methods in NotifyBuilder got deprecated (all receiving Mock as a parameter). Besides, the fact that these are quite useful methods I can't find any info about why they are deprecated and what to use as a replacement. Cheers, Dmitry

RE: How to unmarshal when you don't know what you're unmarshalling?

2019-06-21 Thread Shultz, Dmitry
Hey, I would use CBR (https://www.enterpriseintegrationpatterns.com/patterns/messaging/ContentBasedRouter.html) + Body check for this. Cheers Dmitry -Original Message- From: Ron Cecchini [mailto:roncecch...@comcast.net] Sent: Friday, June 21, 2019 2:23 PM To: users@camel.apache.org Su

RE: Checkout tag using Git component

2019-01-02 Thread Shultz, Dmitry
Here it is: https://issues.apache.org/jira/projects/CAMEL/issues/CAMEL-13034 Cheers, Dmitry From: Andrea Cosentino [mailto:ancosen1...@yahoo.com] Sent: Tuesday, January 1, 2019 3:18 PM To: users@camel.apache.org; Shultz, Dmitry ; users@camel.apache.org Subject: R: Checkout tag using Git

Checkout tag using Git component

2018-12-31 Thread Shultz, Dmitry
Hi All, I'm using Git component to work with a Git repo. Trying to check out some specific tag (like here https://stackoverflow.com/questions/791959/download-a-specific-tag-with-git) Not sure, but it seems like the 'checkout' operation is not supported yet. Do I have to use the JGit API for this

RE: camel-atmosphere-websocket + TomEE

2018-05-22 Thread Shultz, Dmitry
; @OnError annotation. Any ideas? Dmitry -Original Message----- From: Shultz, Dmitry [mailto:dmitry_shu...@kaltire.com] Sent: Tuesday, May 22, 2018 11:17 AM To: users@camel.apache.org Subject: RE: camel-atmosphere-websocket + TomEE Thanks a lot Zora

RE: camel-atmosphere-websocket + TomEE

2018-05-22 Thread Shultz, Dmitry
CamelHttpTransportServlet so just replacing it should help in your case. zoran On Thu, May 17, 2018 at 11:22 PM, Shultz, Dmitry wrote: > Hi All, > > I'm running CDI + JSF + Deltaspike + Camel web app in TomEE. My web.xml > contains following config for the servlets: > >

camel-atmosphere-websocket + TomEE

2018-05-17 Thread Shultz, Dmitry
Hi All, I'm running CDI + JSF + Deltaspike + Camel web app in TomEE. My web.xml contains following config for the servlets: Faces Servlet javax.faces.webapp.FacesServlet 1 Faces Servlet *.xhtml dashboard.xhtml

Google Service account for google-drive component

2018-03-02 Thread Shultz, Dmitry
Hi All, There is a backend service riding Camel that supposed to upload files to the Google Drive. All data is generated by the service itself, so I want to use the Google Service Account for the Google authentication/authorization. I created the service account, generated json key (as describe

FTP2 'disconnect' option default

2017-09-08 Thread Shultz, Dmitry
Hi All, It looks like FTP2 component (we are using it for SFTP transfer) maintaining open TCP socket to the remote server. I digged a bit into it and found out that there is a 'disconnect' option that is 'false' by default. Is it to optimize the SSL handshake or there are some other reasons?

RE: microprofile/wildfly-swarm + camel-cdi

2017-06-26 Thread Shultz, Dmitry
Jun 24, 2017 at 2:28 AM, Shultz, Dmitry wrote: > Zoran, > > I merged the change to the 2.19.x branch and assembled the app with the > changes. There are still some warnings in the log though: > > 2017-06-23 17:10:57,840 WARN [org.jboss.weld.deployer] (MSC service > thread

RE: microprofile/wildfly-swarm + camel-cdi

2017-06-23 Thread Shultz, Dmitry
I've created an issue (CAMEL-11445[1]) and a pull request[2]. If you can please test or provide feedback :) Also I think you want to checkout wildfly-camel[3] project. zoran [1] https://issues.apache.org/jira/browse/CAMEL-11445 [2] https://github.com/apache/camel/pull/1782 [3] https://githu

microprofile/wildfly-swarm + camel-cdi

2017-06-22 Thread Shultz, Dmitry
Hi All, I'm playing with microprofile + camel-cdi app that was created using this repo as a template https://github.com/eclipse/microprofile-samples/tree/master/microprofile-sample-canonical It looks like camel-cdi is not activated by wildfly-swarm (and my sample route is not started). In the

RE: Camel JPA + JTA Transaction (TomEE)

2016-08-16 Thread Shultz, Dmitry
> contributing.html > > Keep in touch, > > Antonin > > > On 06 Aug 2016, at 22:25, Shultz, Dmitry > wrote: > > > > I like the CDI way of doing DI, so I decided to dump the JPA Camel > component. > > > > Ended up using beanRef invoking CDI

Re: Camel JPA + JTA Transaction (TomEE)

2016-08-06 Thread Shultz, Dmitry
ner if in a servlet container can be a better way to init camel - can be done automatically and switch back to either cdi or something else if in standalone. > > Le 5 août 2016 21:58, "Shultz, Dmitry" a écrit : > > It looks like org.apache.camel.cdi.CdiCamelExtension.after

RE: Camel JPA + JTA Transaction (TomEE)

2016-08-05 Thread Shultz, Dmitry
ck to either cdi or something else if in standalone. Le 5 août 2016 21:58, "Shultz, Dmitry" a écrit : It looks like org.apache.camel.cdi.CdiCamelExtension.afterDeploymentValidation() kicks up the Camel validation befiore TomEE is fully initialized. If there any way to disable this (or

RE: Camel JPA + JTA Transaction (TomEE)

2016-08-05 Thread Shultz, Dmitry
It looks like org.apache.camel.cdi.CdiCamelExtension.afterDeploymentValidation() kicks up the Camel validation befiore TomEE is fully initialized. If there any way to disable this (or call validation manually later)? -Original Message- From: Antonin Stefanutti [mailto:anto...@stefanutti

RE: Camel JPA + JTA Transaction (TomEE)

2016-07-29 Thread Shultz, Dmitry
jtaTransactionManager producer called twice, but it works. -Original Message- From: Shultz, Dmitry [mailto:dmitry_shu...@kaltire.com] Sent: July-29-16 2:46 PM To: users@camel.apache.org Subject: RE: Camel JPA + JTA Transaction (TomEE) Romain, TransactionManager is never injected in my case (and

RE: Camel JPA + JTA Transaction (TomEE)

2016-07-29 Thread Shultz, Dmitry
Romain, TransactionManager is never injected in my case (and yes, - I removed parameters from producer). I'm having some strange problems with UserTransaction as well. It works when I'm deploying the app on the already running TpomEE, but fails when TomEE is restarted with the app deployed.

RE: SOAP Envelope and headers are not added by CXF by default

2016-06-21 Thread Shultz, Dmitry
. If you are sending the plain payload to the endpoint, you have to use use dataFormat=PAYLOAD so that it will be wrapped in the soap envelope. 2016-06-21 2:52 GMT+02:00 Shultz, Dmitry : > Hi All, > > I have a route configured like this: > > public void configure() t

Cannot cast org.apache.cxf.management.jmx.InstrumentationManagerImpl to org.apache.cxf.management.InstrumentationManager

2016-06-21 Thread Shultz, Dmitry
Hi All, I'm using Camel CXF component in app running in TomEE (webprofile-7.0), can generate and send SOAP request, but during response processing it fails with this exception: WARNING - Interceptor for {http://tempuri.org/}TestService#{http://www.test.com}ExecuteMultipleOperations has thrown

SOAP Envelope and headers are not added by CXF by default

2016-06-20 Thread Shultz, Dmitry
Hi All, I have a route configured like this: public void configure() throws Exception { String cxfUri = String.format("cxf://%s/?dataFormat=MESSAGE&username=%s&password=%s&loggingFeatureEnabled=true", url, user, password); CxfEndpoint myCxfEp = (CxfEndpoint) getC

RE: camel-test-cdi + OpenEJB fails on weld dependency?

2016-06-02 Thread Shultz, Dmitry
m> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-06-02 23:09 GMT+02:00 Shultz, Dmitry : > Makes sense, Thanks Romain. > > Although I reported that my test is working it's only partially true. > I have two test classes so far, one is annotated with > @RunWith

RE: camel-test-cdi + OpenEJB fails on weld dependency?

2016-06-02 Thread Shultz, Dmitry
mannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-06-02 3:34 GMT+02:00 dimas : > Included beans.xml in the resources/META-INF/ and it works now :) > > Cheers, > Dmitry > > > From: Shultz, Dmi

RE: camel-test-cdi + OpenEJB fails on weld dependency?

2016-06-01 Thread Shultz, Dmitry
Added following dependencies to the pom file (not sure if it's the right way to go though): javax.faces javax.faces-api 2.2 test And it fixed the original exception, but now I'm getting this: java.lang.RuntimeException: Error instantiating class org.apache.bva

JSSE Utility config for cxf/http-jetty client

2015-10-08 Thread Shultz, Dmitry
Hi All, I'm trying to send the soap request using camel-cxf:2.10.2 and cxf-rt-transports-http-jetty:2.6.3. I have user name & password (using AuthorizationPolicy to set them) from the service provider and that's it i.e. can't do anything about their SSL certs. Marshaling seems to be working, b