ApacheCon NA 2013

2013-02-12 Thread Christian Müller
ApacheCon NA 2013 starts in less than two weeks! I will be there from Feb. 25th until Mar. 1st as I mentioned here [1]. Feel free to list yourself on the "Who Arrives When" page and/or share the information here. I'm very interested to know who will join us and when! After arriving in Portland we

Re: SJMS and InOut

2013-02-12 Thread Claus Ibsen
On Tue, Feb 12, 2013 at 6:45 PM, Scott England-Sullivan wrote: > Sorry but I misunderstood that behavior. > > SJMS is designed to be agressive, meaning that the intent of the message > flow is expected at initialization so the endpoint can be optimized with > all necessary resources cached. In th

Re: Files cannot be moved on FTP

2013-02-12 Thread Filippo Balicchia
Hi Christian, please download it from http://dl.dropbox.com/u/86667715/camelftp/ftproute.zip. I tested it with 32 and 64 bit linux box from client side and the ftp server that i used was http://mina.apache.org/ftpserver-project/index.html an i was installed on windows box Regards. --Filippo 20

Multicast SOAP message using Camel

2013-02-12 Thread amitb
All, I am new to the forum, using Camel and need some help. I am receiving an external SOAP Message over HTTP, and need to multicast the exact same message to 3 different service endpoints in parallel over HTTP as well. One of them needs to return a response or fault message back to the caller. R

Re: VM Queues Disconnected after Karaf Bundle Update

2013-02-12 Thread SteveC
Raul, Thanks for you work. The turnaround time from raising the query, confirming the issue and preparing a fix is impressive ;-) Regards Steve -- View this message in context: http://camel.465427.n5.nabble.com/VM-Queues-Disconnected-after-Karaf-Bundle-Update-tp5727205p5727461.html Sent fro

Re: Camel Scala JAXB DSL

2013-02-12 Thread Joe San
Claus, Thanks for the email. Could you please provide me with the Jira ticket id? I used the following for my JaxbDataFormat and I guess this is the correct one as well. org.apache.camel.model.dataformat.JaxbDataFormat Here is my route from("file:/Users/joe/Desktop/in?noop=true").unmarshal(ja

Re: Files cannot be moved on FTP

2013-02-12 Thread Christian Schäfer
Hello Filippo, just tried the same code with jdk 7: java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode) but the problem persists. Would be great if you would share your maven test project Which OS are you using?

Re: Check that file component is still polling

2013-02-12 Thread Bengt Rodehav
Thanks Preben - good advice, /Bengt 2013/2/12 Preben.Asmussen > We use Camel's jmx statistics to determine the health state. > > 1. if here has been an completed exchange within a given timeframe eg. 10 > min. everything is ok. if the last exchange was a failure healthstate is > set > to error

Re: SJMS and InOut

2013-02-12 Thread Scott England-Sullivan
Sorry but I misunderstood that behavior. SJMS is designed to be agressive, meaning that the intent of the message flow is expected at initialization so the endpoint can be optimized with all necessary resources cached. In this case the producer has already been created and cached as an InOnly han

Re: jdbc:osgi:services/javax.sql.DataSource/(name=nomDatasource)

2013-02-12 Thread Claus Ibsen
On Tue, Feb 12, 2013 at 5:49 PM, sekaijin wrote: > Hi, > Yes he can retrieve the datasource in my java code via lookup > but how to inject it in my routeBuilder? > > > how to write this last ".to(...)" to use the object ds? > The camel jdbc will lookup the data source like you can do with the loo

Re: default maximum redelivery policy when overridding default error handler not right

2013-02-12 Thread boday
I just created a basic test and it seemed to work fine for my scenario. Can you attach a unit test that replicates this? joe82 wrote > According the the camel documentation, if you provide a context-scoped > error handling policy, and then a route-scoped onException policy also - > the MaximumRe

Re: jdbc:osgi:services/javax.sql.DataSource/(name=nomDatasource)

2013-02-12 Thread sekaijin
Hi, Yes he can retrieve the datasource in my java code via lookup but how to inject it in my routeBuilder? how to write this last ".to(...)" to use the object ds? thank A+JYT -- View this message in context: http://camel.465427.n5.nabble.com/jdbc-osgi-services-javax-sql-DataSource-name-nomDa

Re: RouteBuilder CXF, WebService Url and WSDL ?

2013-02-12 Thread sekaijin
Hi, My service does not respond to a url? Wsdl I am forced to have the wsdl file locally thank A+JYT -- View this message in context: http://camel.465427.n5.nabble.com/RouteBuilder-CXF-WebService-Url-and-WSDL-tp5727301p5727438.html Sent from the Camel - Users mailing list archive at Nabble.co

Re: Dynamic route : multiple From point

2013-02-12 Thread boday
if you want these to be separate routes altogether, then you can also add routes at runtime by periodically checking for new customer registrations and calling context.addRoutes() for more details, see http://stackoverflow.com/questions/10451444/add-camel-route-at-runtime-in-java ODarwish wrote

Re: Connection Timed Out Error : Camel 2.10.3

2013-02-12 Thread Claus Ibsen
Hi Are you behind any HTTP proxy server? Then see this Maven FAQ http://maven.apache.org/general.html#proxy-needed On Tue, Feb 12, 2013 at 4:26 PM, Paramasivam, Senguttuvan wrote: > Hi > > I am having an issue while importing camel example applications in either > eclipse/NetBeans IDE. It is t

Connection Timed Out Error : Camel 2.10.3

2013-02-12 Thread Paramasivam, Senguttuvan
Hi I am having an issue while importing camel example applications in either eclipse/NetBeans IDE. It is throwing the following error 1 problem was encountered while building the effective model for org.apache.camel:camel-example-console:2.10.3 [FATAL] Non-resolvable parent POM: Could not trans

Re: VM Queues Disconnected after Karaf Bundle Update

2013-02-12 Thread Raul Kripalani
Hi all, Found the issue that causes VM producer and consumer to "disconnect" in an OSGi environment when a bundle is restarted. It looks like a bug in ServiceSupport#shutdown. See [1]. I filed CAMEL-6072 and CAMEL-6073, but before I commit the patch I'm waiting on some feedback on from the rest o

Re: Check that file component is still polling

2013-02-12 Thread Preben.Asmussen
We use Camel's jmx statistics to determine the health state. 1. if here has been an completed exchange within a given timeframe eg. 10 min. everything is ok. if the last exchange was a failure healthstate is set to error. 2. if no exchange has been completed a secondary check is activated. This

Re: Camel Scala DSL and IntelliJ

2013-02-12 Thread Matthias Lüneberg
Hi, thanks for the help Henryk. I use sbt for my scala development. Joe, last time I just checked if the Route compiles and starts properly. For me it did. Now I did a small simple project on my own using camel 2.10.1, scala 2.9.2 and sbt. The following code worked for me: package it.lueneber

Re: Bug in bean-binding? Don't remove last quote

2013-02-12 Thread Claus Ibsen
On Sat, Feb 9, 2013 at 11:26 AM, Claus Ibsen wrote: > On Fri, Feb 8, 2013 at 8:49 PM, Gardella juan > wrote: >> Hi all, >> >> In the page http://camel.apache.org/bean-binding.html said: >> >> "In the example above, we invoke the echo method with two parameters. The >> first has the content 'World

Re: RouteBuilder CXF, WebService Url and WSDL ?

2013-02-12 Thread Claus Ibsen
On Sun, Feb 10, 2013 at 2:10 PM, sekaijin wrote: > Hello, > > I need to define a camel route that invokes a web service. > I thought about using camel-cxf to call the web service. > > My routes are defined in Java dsl > the parameters are read in a database and a RouteBuilder define route in > jav

Re: Camel Scala DSL and IntelliJ

2013-02-12 Thread Henryk Konsek
> I'm just trying a simple Scala DSL using intelli. Just a little suggestion from me. If you plan to play around with Scala DSL, create small Maven project and always verify Scala errors generated by IntelliJ by executing 'mvn clean compile'. IntelliJ Scala plugin sometimes gets confused for some

Re: Basic auth with Atom component not working?

2013-02-12 Thread herder
Yeah, I might do that. As always, it's time that's needed... :) -- View this message in context: http://camel.465427.n5.nabble.com/Basic-auth-with-Atom-component-not-working-tp5727360p5727408.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Basic auth with Atom component not working?

2013-02-12 Thread Claus Ibsen
On Tue, Feb 12, 2013 at 10:15 AM, herder wrote: > Ah... too bad. > > Thanks anyway! > Well we love contributions. So feel free to work on such a new feature. http://camel.apache.org/contributing.html > /N > > > 2013/2/12 Claus Ibsen-2 [via Camel] < > ml-node+s465427n5727384...@n5.nabble.com> >

Re: Basic auth with Atom component not working?

2013-02-12 Thread herder
Ah... too bad. Thanks anyway! /N 2013/2/12 Claus Ibsen-2 [via Camel] < ml-node+s465427n5727384...@n5.nabble.com> > On Mon, Feb 11, 2013 at 6:17 PM, herder <[hidden > email]> > wrote: > > > Hi, > > > > I'm trying to consume an Atom feed fro

Re: jdbc:osgi:services/javax.sql.DataSource/(name=nomDatasource)

2013-02-12 Thread Claus Ibsen
On Mon, Feb 11, 2013 at 2:43 PM, sekaijin wrote: > hello, > > I try to use camel-jdbc as OSGI > my datasource is defined in another bundle and is published via OSGI > > I can retrieve via > lookup("jdbc:osgi:service/javax.sql.DataSource/(name=nomDatasource)") > Can you get the datasource using th

Re: SJMS and InOut

2013-02-12 Thread Claus Ibsen
On Mon, Feb 11, 2013 at 5:56 PM, Scott England-Sullivan wrote: > After looking at it they don't appear to behave the same. The parameter sets > the exchange pattern at initialization while the inOut() method sets the > exchange at runtime. > > Is that what you would expect Claus? > Yes, there i

Dynamic route : multiple From point

2013-02-12 Thread ODarwish
How can I create dynamic route to read messages from multiple sources e.g. multiple ActiveMQ queues , the number of queues depends on customer registered in database each with have own dedicated queue As I know recipient list handle dynamic (calculated ) multiple destination end point ,but wh