Re: Camel 2.15-SNAPSHOT dependency missing sources in repo

2014-11-05 Thread Willem Jiang
I just kicked the CI build of Camel trunk, the deployment[1] is OK now. [1]https://builds.apache.org/job/Camel.trunk.notest/2212/ -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Camel Mina or Netty to read NMEA 0183 buffer

2014-11-05 Thread Willem Jiang
Can you share the camel route with us? I didn’t find anything wrong by going through the log you pasted. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November

Re: POJO to DB

2014-11-05 Thread Charlie Mordant
​​ Hi, Either you have to use a message converter (transforming you pojo to a key value hashmap): http://camel.apache.org/messaging-mapper.html Or you can use camel-jpa if it's a jpa entity. Regards, 2014-11-05 8:51 GMT+01:00 Router rou...@trash-mail.com: Hi, I have got a POJO which

Re: Camel Mina or Netty to read NMEA 0183 buffer

2014-11-05 Thread Morgan Hautman
from(mina:tcp://192.168.100.109:1212?sync=truetextline=true).routeId(TCP_CONNECTION).setExchangePattern(org.apache.camel.ExchangePattern.InOnly).id(ExchangePattern).to(log:cLog_1?level=INFO).id(cJMSConnectionFactory1 + :queue:netty)).id(jms); javax.jms.ConnectionFactory jmsConnectionFactory = new

Rest DSL - how to configure SSL/Basic Auth for jetty component?

2014-11-05 Thread Roman Vottner
This is a repost of the nabble forum entry as my account was obviously not correctly verified at the time when I posted this issue (post has NOT been accepted …). In order to test the new REST feature in 2.14.0 I created a simple route class: public class RestTestRoute extends RouteBuilder {

Re: Exception in the bean after onException

2014-11-05 Thread Vadim Vararu
Solved, it was an issue on the Throwable object, not a Camel one. Thanks. On Tue, Nov 4, 2014 at 9:27 AM, Vadim Vararu vararu.va...@gmail.com wrote: Yes, that works, but as i've observed, i get this way only the cause message, and not the whole stacktrace. On Mon, Nov 3, 2014 at 6:55 PM,

StackOverflowError on configuring JettyHttpComponents with handlers for the same port

2014-11-05 Thread Roman Vottner
We upgraded from Camel 2.13.0 to 2.14.0 a couple of days ago and noticed some problems during the upgrade. While we managed to fix certain issues with CXF based services in Camel (extending spring configurations didn’t work for us in 2.14.0 but using @Import({…}) does achieve the same), we

Re: Camel 2.15-SNAPSHOT dependency missing sources in repo

2014-11-05 Thread vasilievip
There is still no sources for latest build only for previous one. I guess this has something to do with set of profiles enabled for no tests build and all tests build. -- View this message in context:

Re: Rest DSL - how to configure SSL/Basic Auth for jetty component?

2014-11-05 Thread Claus Ibsen
Hi You can configure the jetty component regularly without the rest dsl, and just refer to jetty as the component. Then the Rest DSL uses the jetty with the security settings you have configured on it. And I think we have fixed the double ? in the uri in the upcoming 2.14.1 release. On Wed, Nov

Re: [ANNOUNCE] Apache Camel 2.13.3 Released

2014-11-05 Thread James Green
The [4] link below does not exist. The download page shows 2.13.3 but is linked to 2.13.2. On 1 November 2014 07:53, Christian Mueller cmuel...@apache.org wrote: The Apache Camel project [1] is a powerful open source integration framework based on known Enterprise Integration Patterns [2].

Re: Camel 2.15-SNAPSHOT dependency missing sources in repo

2014-11-05 Thread Willem Jiang
It looks the Jenkins deploy the projects twice.  I just did some change on the Camel.trunk.notest job of the Jenkins, now I just kicked another build, to see if the change works.   -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English)

Re: Camel Mina or Netty to read NMEA 0183 buffer

2014-11-05 Thread Jean-Baptiste Onofré
Can you try with mina2 instead of mina ? mina2:tcp://0.0.0.0:1212?sync=truetextline=truetextlineDelimiter=AUTO Try to put a bean or processor after the mina endpoint to see what you receive (before going to a JMS queue). You can find details here: http://camel.apache.org/mina2.html Regards

Re: Camel Mina or Netty to read NMEA 0183 buffer

2014-11-05 Thread Jean-Baptiste Onofré
By the way, are you sure the 192.168.100.109 is a valid interface for the local machine ? Regards JB On 11/05/2014 10:49 AM, Morgan Hautman wrote:

Camel-boot autowiring issue

2014-11-05 Thread vasilievip
I see strange behavior when trying to use camel boot. When config class for camel creates beans (RoutesBuilder's) it does not see autowired fields - they are not initialized, but in @PostConstruct method they are getting initialized. When I add additional config file (see Boot2.java in my

Re: Camel-boot autowiring issue

2014-11-05 Thread Henryk Konsek
Hi, Here is sample project I prepared to demonstrate the issue: I will take a look it shortly. Thanks for reporting :) . Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Calling a camel route seems to commit an outside transaction

2014-11-05 Thread Christian Schneider
I have an application running in OSGi that uses aries blueprint and aries jpa. My class A is marked as transactional in blueprint and uses an XA transaction. Inside such a transactional method from class A I - first create a persistent entity in the DB - then call a camel route using

Re: Camel-boot autowiring issue

2014-11-05 Thread Henryk Konsek
OK, I can see possible improvement for camel-spring-boot, as well as small misconfiguration in your project. I'll send more details later today. Stay tuned :) Cheers. On Wed, Nov 5, 2014 at 3:53 PM, Henryk Konsek hekon...@gmail.com wrote: Hi, Here is sample project I prepared to demonstrate

getting default value Connection: Keep-Alive in

2014-11-05 Thread ashwin74268
Hi , I am trying to connect to an external entity which does not support Persistent Connections. I tried to set the Connection:close Header in Exchange object but it appears to be getting filtered out by DefaultCXFBinding. I saw some post where it says the following HTTP Headers will be filtered

Re: Strange issue with JDBC add Postgres

2014-11-05 Thread Tim Dudgeon
On 05/11/2014 19:07, Claus Ibsen wrote: maxRowSize ??? do you mean fetchSize? Sorry, I mean maxRows (as in the example here: http://camel.apache.org/jdbc.html). So something like: .to('jdbc:myDataSoruce?outputType=StreamListstatement.fetchSize=100statement.maxRows=1000') Also which

Re: Setting rest response json directly

2014-11-05 Thread Gary Kennedy
I'm using blueprint, but yes, it does not work. cml:setBody cml:simple{ exception: ${exception.message} }/cml:simple /cml:setBody Produces response content of: { \error\: \${exception.message}\ } Instead of: { error: ${exception.message} } I'm using the servlet/rest

Ack by the end of WS chain (client WS - [WS - Camel - client WS] - WS) *image inside

2014-11-05 Thread chainbuck
Hello all, Does this ack (OK Reply) at the end of the chain looks feasable to you? http://camel.465427.n5.nabble.com/file/n5758561/artf1.png Thx. -- View this message in context:

Support for CXF dispatch api in the latest release of camel

2014-11-05 Thread santosh das
Our application is already using its webservice engine as CXF via the dispatch api, Now we are evaluating to add camel to utilize its EIP capabilities and still yse CXF. I could find no documentation whatsoever for using Camel with CXF dispatch API. Any hep is highly appreciated in this regard.

Re: Ack by the end of WS chain (client WS - [WS - Camel - client WS] - WS) *image inside

2014-11-05 Thread Henryk Konsek
Hi, In other words, I'm wondering if the following is feasable: Sending status code after endpoint call is common practice. Looks fair for me :) . Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Camel to ingest data more than 200 HTTP url endpoints

2014-11-05 Thread Vins Yu
Hi, I'm building an app that grabs DATA from dynamic URLs which can reach more than 200. I tried the following // this bean just generates dynamic url public void createUrls(Exchange exchange) { ListString list = new ArrayListString(); for (int i = 0; i 9; i++) {