Apache Camel 2.12.0 released

2013-09-09 Thread Willem jiang
The Apache Camel project [1] is a powerful open source integration framework based on known Enterprise Integration Patterns [2]. The Camel community announces the immediate availability of a new minor release camel-2.12.0. This release is issued after 5 months of intense efforts. During this

Is the higher OSGi version really needed?

2013-09-09 Thread JavaAdam
Hi, I have tried to deploy an OSGi application based on Apache Camel 2.11.1 on a IBM WebSphere Application Server 8. But I failed, because Camel 2.11.1 requires a newer OSGi Specification than the WAS provides (Equinox 3.6.1). My investigation shows that the import version of

camel blueprint - unit tests

2013-09-09 Thread fs
Trying to get the following example working with blueprint but with no success: http://camel.apache.org/how-do-i-import-routes-from-other-xml-files.html Test class: public class BlueprintTest extends CamelBlueprintTestSupport { @Override protected String getBlueprintDescriptor() {

camel-redis db selection

2013-09-09 Thread Tommaso
Hi, I couldn't figure out how to select the db on the camel-redis component I would have expected an URI option or some header information to be set. Is it possible to choose something different that the db 0? Thanks. --Tommaso -- View this message in context:

Re: Can not consume messages which are sent to temp queue using 2 different camel contexts

2013-09-09 Thread Andreas Gies
Hi, this is because JMS temporary Objects are usually bound to the connect in which they have been created. Therefore these are invisible elsewhere. You are using contexts and I would assume you are using the normal setup and hace 2 connections. This is why it doesn't work with a temp queue,

Re: Is the higher OSGi version really needed?

2013-09-09 Thread Andreas Gies
Hmmm, I see your point and can't answer whether the version change is really required. I would challenge the claim that camel can't be used in a real OSGi application. I am using Camel all the time in OSGi based apps and I would call them real as they solve real problems. This having said,

Performance difference between Camel spring redis and standalone Jedis

2013-09-09 Thread Shing Hing Man
 Hi, I have written a standalone program PublishBenchmark.java (please see below)   using Jedis to publish a 2K message to a Redis Channel 100,000 times. I repeat the same process using Camel 2.11.1  Camel spring redis component (Please see RedisPublisherBenchmark.java below). Below is

Re: Is the higher OSGi version really needed?

2013-09-09 Thread Christian Schneider
I think what he meant is that Camel currently can not run as a real OSGi application in Websphere App Server 8. So in this environment it would be really great if we could lower the minimum needed OSGi version. I checked what OSGi release matches the update from package version 1.4 to 1.5.

Re: # CAMEL CONTEXT ELEMENTS

2013-09-09 Thread Christian Müller
Have a look at the Camel Spring schema we publish at [1]. [1] http://camel.apache.org/schema/spring/camel-spring-2.12.0.xsd Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel:

Re: Is the higher OSGi version really needed?

2013-09-09 Thread Andreas Gies
Point taken ;) - Was half joking. Andreas On 09/09/2013 12:10 PM, Christian Schneider wrote: I think what he meant is that Camel currently can not run as a real OSGi application in Websphere App Server 8. So in this environment it would be really great if we could lower the minimum needed

Re: Performance difference between Camel spring redis and standalone Jedis

2013-09-09 Thread Christian Müller
May be Jedis is much more faster than Spring Redis? Can you compare these both (without using Camel)? Jedis is Apache license 2.0 [1], so we could offer a component for Jedis too... [1] http://code.google.com/p/jedis/ Best, Christian - Software Integration Specialist Apache

Re: org.xml.sax.SAXParseException: Premature end of file in split

2013-09-09 Thread Preben.Asmussen
Did 2 tests that shows the problem with enabling the tracer. If you run RouteWithoutTracerTest it runs ok The other RouteWithTracerTest fails with org.xml.sax.SAXParseException: Premature end of file. The tracer seems to break stuff somewhere. tracerbug.zip

Help in understanding route behaviour

2013-09-09 Thread abaldoni
Hello, I'm new to Camel and I'm starting to learn it. I have a problem with the following route: from() .unmarshal() .filter().javaScript() .setHeader()

Re: camel-redis db selection

2013-09-09 Thread Bilgin Ibryam
Hi Tommaso, you can provide your own connectionFactory with db configured. Just create RedisConnectionFactory, configure it with db index, and put that in the registry. Also specify the connectionFactory in the URI. HTH Bilgin On 9 September 2013 09:08, Tommaso mynos_m...@yahoo.it wrote:

Re: Deploying route to Karaf fails with waiting for dependencies

2013-09-09 Thread Antonio Costa
Hello Claus, I'm having the same problem but I need to use camel-http4 because my bundle needs access to the org.apache.http package. What do you mean with fix the route to use http4? Thank you in advance. - Best regards, Cumprimentos, Un saludo, Antoacute;nio Jacob Costa

Re: aggregator duplicate messages

2013-09-09 Thread AlanFoster
Hi there, Could you post the rest of your code/logs please? And, you're using `equals`, and not `==` I hope? :) -- View this message in context: http://camel.465427.n5.nabble.com/aggregator-duplicate-messages-tp5738848p5738850.html Sent from the Camel - Users mailing list archive at

camel blueprint - unit tests

2013-09-09 Thread fs
Trying to get the following example working with blueprint but with no success: http://camel.apache.org/how-do-i-import-routes-from-other-xml-files.html Camel version: 2.10.3 Test class: public class BlueprintTest extends CamelBlueprintTestSupport { @Override protected String

Integrating External Webservices Using Apache Camel Framework

2013-09-09 Thread trilochan237
Hi, My requirement is like I have Webservices are developed and depolyed in Guideware framework. I have to consume those webservices from J2EE application using Apache camel. Could anyone please tell me how to call the webservice from my J2EE applicaton using camel framework?. -- View this

Re: Deploying route to Karaf fails with waiting for dependencies

2013-09-09 Thread Antonio Costa
I'm not sure of the meaning of my actions, but I just added the following import-package with the version of the org.apache.httpcomponents.httpcore I'm using in Servicemix: With this explicit import-package I solved my problem. - Best regards, Cumprimentos, Un saludo, Antoacute;nio

Re: Set CxfEndpoint Property Dynamicly

2013-09-09 Thread Claus Ibsen
Hi You cannot do this from the Camel route DSL. You can however use a java bean / Camel processor and do java code to do whatever you want. Though not sure if changing CXF properties at runtime is supported in camel-cxf. Though you can give it a try to see what happens. On Fri, Sep 6, 2013 at

WS-Security testing with Camel

2013-09-09 Thread gliesian
Hi, I'd like to do some WS-Security (e.g., wsse) testing with Camel... Is camel a good tool to use for this sort of testing... If so, where do I start my path, and what resources are available to support this space? Thanks, Robert -- View this message in context:

Re: camel blueprint - unit tests

2013-09-09 Thread Claus Ibsen
I think import is not supported in OSGi Blueprint. Though if you add your xml files in the OSGI-INF/blueprint directory then they are all automatic loaded and available, so you dont need to use import On Mon, Sep 9, 2013 at 8:36 AM, fs mholla...@gmail.com wrote: Trying to get the following

Re: Traverse FTP tree

2013-09-09 Thread Claus Ibsen
Hi Yeah you can do this with the camel ftp component. You need to set recursive=true to travel down the sub dirs. Then you can use a custom filter to skip the unwanted directories. Or use some include/exclude to match file names / directory names. Or use the maxDepth to avoid traveling down to

Re: camel blueprint - unit tests

2013-09-09 Thread AlanFoster
@Claus - This is true when deployed to an OSGi container. However, within the context of camel testing this is not true. When using the camel testing framework you need to supply all of the camel routes within your `getBlueprintDescriptor` @fs I just wanted to add; In my experience i have found

Problems with Camel and Spring remoting

2013-09-09 Thread Erwin Etchart
Hi everybody. I´m developing my first examples with Camel and Spring remoting , but unfortunately with no success. I have a external app exposing services , wich is a tomcat. But i don´t have clearly how i must connect to the service, i supose that will be something like this. bean

Re: Integrating External Webservices Using Apache Camel Framework

2013-09-09 Thread trilochan237
All the webservices are exposed using SOAP protocol. -- View this message in context: http://camel.465427.n5.nabble.com/Integrating-External-Webservices-Using-Apache-Camel-Framework-tp5738934p5738963.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Traverse FTP tree

2013-09-09 Thread Tom Fornoville
Hi Claus, Thanks for the tip! Didn't know you could use all the file parameters on an ftp endpoint (must have read over that),but it makes sense and I can already see lots of possibilities. My unittests are working fine with this: from(

Re: Can not consume messages which are sent to temp queue using 2 different camel contexts

2013-09-09 Thread Nhan Nguyen
Thanks Andreas! -- View this message in context: http://camel.465427.n5.nabble.com/Can-not-consume-messages-which-are-sent-to-temp-queue-using-2-different-camel-contexts-tp5738891p5738969.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Problems with Camel and Spring remoting

2013-09-09 Thread Christian Müller
This component is documented at [1]. Do you have any issues? [1] http://camel.apache.org/spring-remoting.html Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache

Re: Integrating External Webservices Using Apache Camel Framework

2013-09-09 Thread Christian Müller
I recommend using camel-cxf. You can find the documentation at [1]. We also have examples [2] and articles [3] how to use this component. [1] http://camel.apache.org/cxf.html [2] http://camel.apache.org/examples.html [3] http://camel.apache.org/articles.html Best, Christian -

Re: WS-Security testing with Camel

2013-09-09 Thread Christian Müller
Use the camel-cxf component [1]. The documentation at [2] is also helpful to get started. [1] http://camel.apache.org/cxf.html [2] http://cxf.apache.org/docs/ws-security.html Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team

Got an error PropertiesComponent with name properties must be defined in CamelContext to support property placeholders

2013-09-09 Thread bonnahu
Running on Camel 2.11.1. I am trying to use a defined VM argument (e.g., -Dprop.env=DEV) in camel context. However, I got the error saying PropertiesComponent with name properties must be defined in CamelContext to support property placeholders. So I need to add a propertyPlaceholder to make it

Re: Got an error PropertiesComponent with name properties must be defined in CamelContext to support property placeholders

2013-09-09 Thread Christian Posta
Do you define the propertyPlaceholder component anywhere in your context? http://camel.apache.org/using-propertyplaceholder.html On Mon, Sep 9, 2013 at 1:47 PM, bonnahu bonn...@gmail.com wrote: Running on Camel 2.11.1. I am trying to use a defined VM argument (e.g., -Dprop.env=DEV) in camel

Re: JAAS Authentication - ERROR

2013-09-09 Thread Christian Müller
This question was answered by Clause in one of his other threads. Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member:

Re: Problems with Camel and Spring remoting

2013-09-09 Thread Erwin Etchart
Thanks for your reply Chrisitan. When i try to invoke the exception that appens is : org.apache.camel.NoSuchBeanException: No bean could be found in the registry for: http://localhost:9911/tomcat-xxx/moduleService Dont know why... Code. bean id=spring.remote

Re: Integrating External Webservices Using Apache Camel Framework

2013-09-09 Thread Christian Posta
What kind of protocol or data format do those webservices speak? SOAP? You can take a look at camel-cxf, camel-restlet, camel-http4, camel-netty-http, camel-spring-ws... Check out the options here: http://camel.apache.org/components.html On Mon, Sep 9, 2013 at 4:08 AM, trilochan237

Re: Processing Asynchronous Interceptors

2013-09-09 Thread bpinto
Hi, Still awaiting any suggestions/information on the question. At the moment working around the problem by customizing processor handling in already initiated threads. Regards, Brian -- View this message in context:

Re: Set CxfEndpoint Property Dynamicly

2013-09-09 Thread liugang594 Liu
Yap, seems not possible for now, it's great if we can support it somehow in future. Anyway, Thanks alot. 2013/9/9 Claus Ibsen claus.ib...@gmail.com Hi You cannot do this from the Camel route DSL. You can however use a java bean / Camel processor and do java code to do whatever you want.

Re: Set CxfEndpoint Property Dynamicly

2013-09-09 Thread Willem jiang
The CxfEndpoint Property is set at the design time, if you want to change the CXF endpoint behavior at the Runtime you may need to consider to set the message header just like this. MapString, Object requestContext = new HashMapString, Object(); requestContext.put(Message.ENDPOINT_ADDRESS,