Transactions (Multiple JMS Consumers) and Aggregation

2018-07-31 Thread Rajith Muditha Attapattu
Hi All, I'm trying to understand how transactions would work in the following scenario. Given transactions are scoped by sessions, and each concurrent consumer will be run in it's own session (possibly different connections as we see on wmq connection manager), how does transactions work? When do

Re: Java DSL route now needs a MS SQL .to( How do I declare connection info?

2018-07-31 Thread Quinn Stevenson
The example you gave me was for the Derby DB driver - so that’s what I put in the BasicDataSource. Or course, you want to use what’s appropriate for your system. > On Jul 31, 2018, at 12:04 PM, John F. Berry > wrote: > > Nevermind... found to import org.apache.camel.component.sql.SqlCompone

Re: Java DSL route now needs a MS SQL .to( How do I declare connection info?

2018-07-31 Thread John F. Berry
Nevermind... found to import org.apache.camel.component.sql.SqlComponent On Tuesday, July 31, 2018, 1:27:58 PM EDT, John F. Berry wrote: Also, in compiling in maven, it doesn't find "SQLComponent".  Isn't that part of camel-sql?  or am I configuring a different entity?     On Tuesday, July 3

Re: Java DSL route now needs a MS SQL .to( How do I declare connection info?

2018-07-31 Thread John F. Berry
Also, in compiling in maven, it doesn't find "SQLComponent".  Isn't that part of camel-sql?  or am I configuring a different entity? On Tuesday, July 31, 2018, 12:29:49 PM EDT, John F. Berry wrote: Sorry, that was a bit of an incomplete thought: In another java IDE that came with a p

Re: Java DSL route now needs a MS SQL .to( How do I declare connection info?

2018-07-31 Thread John F. Berry
Sorry, that was a bit of an incomplete thought: In another java IDE that came with a product of ours we use this driver: com.microsoft.sqlserver.jdbc.SQLServerDriver as well as this URI: jdbc:sqlserver://blablabla:52739;databaseName=dbName; So what is the choice of using a "derby" driver?  I can

Re: Java DSL route now needs a MS SQL .to( How do I declare connection info?

2018-07-31 Thread John F. Berry
Thanks again Quinn, What is the "derby" element in this solution?  I can't seem to find information in this in my searches. I'm trying to analyze the parameter string in the .setURL line and the values within. On Tuesday, July 31, 2018, 10:55:42 AM EDT, Quinn Stevenson wrote: Forgot to men

Re: Java DSL route now needs a MS SQL .to( How do I declare connection info?

2018-07-31 Thread Quinn Stevenson
Forgot to mention to make sure that when you use this component, use the component name that you register it with - in this example I used “my-sql”. > On Jul 31, 2018, at 8:49 AM, Quinn Stevenson > wrote: > > There’s a few ways to go about this, but I’d probably start out with doing it > in

Re: Java DSL route now needs a MS SQL .to( How do I declare connection info?

2018-07-31 Thread Quinn Stevenson
There’s a few ways to go about this, but I’d probably start out with doing it in the configure method of the RouteBuilder - something like the following (note - I didn’t test this so I don’t even know if it compiles). @Override public void configure() throws Exception { BasicDataSource basicDa

Re: Concurrent consumers from SEDA to CXF

2018-07-31 Thread Mirek Borsky
Hi Claus, I would try to explain. Please ask for the clarification as needed. In the route in my example, if there will a delayer as the component that take 2 seconds to proceed, the route will look like this:     2000 there will be 10 inflight messages in this route when the seda queue is

Antwort: Re: Re: Question for CamelSpringDelegatingTestContextLoader'/Java-Config

2018-07-31 Thread bjoern . ohm
Ok, I understand, although I think it is solved not very nice. But perhaps we rebuild our application/unit tests... Thank you, Von:Claus Ibsen An: users@camel.apache.org Datum: 31.07.2018 10:12 Betreff:Re: Re: Question for CamelSpringDelegatingTestContextLoader'/Java-Co

Re: Re: Question for CamelSpringDelegatingTestContextLoader'/Java-Config

2018-07-31 Thread Claus Ibsen
Hi Just because its deprecated does not necessary mean you cannot use it. It helps to stop users start to use it, eg camel-spring-javaconfig is not something that is well in use. Either people use Spring Boot, or spring WAR, Camel standalone, OSGi / Karaf etc. On Tue, Jul 31, 2018 at 8:41 AM,

[SECURITY] New security advisory CVE-2018-8027 released for Apache Camel

2018-07-31 Thread Andrea Cosentino
A new security advisory has been released for Apache Camel, that is fixed in the recent 2.20.4 and 2.21.1 releases: CVE-2018-8027: Apache Camel's Core is vulnerable to XXE in XSD validation processor The full text of the advisory is the following: CVE-2018-8027: Apache Camel's Core is vulnerabl