Re: Remote Messaging Using CAMEL

2011-11-28 Thread Willem Jiang
On Sun Nov 27 00:30:18 2011, newbiee wrote: Calus: Thanks for the reply. I have already gone through the example MinaTcpTest.java given chpater 7 and other example. The examples show how the actual route works through unit testing. I understand that but when it comes to creating my own route,

Re: HTTP Basic authenticaiton on CxfEndpoint

2011-11-28 Thread Willem Jiang
Hi Antony, You already find the way to set the conduit with your custom policy :) If you are using the latest Camel 2.9.0-SNAPSHOT , you can do the job by setting the property of the cxfEndpoint like this without digging the HttpCondit out Map String, Object myProperties = new HashMapString,

How to apply configuration globally for all deployed contexts (OSGi)?

2011-11-28 Thread Muenkel, Markus
Hello, For monitoring purposes I would like to track Exchanges in all Camel contexts that have been started in an OSGi container. I noticed a similar discussion in the following thread: http://camel.465427.n5.nabble.com/intercept-route-td4521314.html#a4521358. The aim would be to automatically

Re: How to apply configuration globally for all deployed contexts (OSGi)?

2011-11-28 Thread Willem Jiang
It looks like a container level work instead of camel context level work. I'm not sure how do you create your camel context in the OSGi container. If you are using Spring or Blueprint , maybe you can override the namespace handler part to add the Tracer or EventNotifier by yourself. On Mon

Re: How to apply configuration globally for all deployed contexts (OSGi)?

2011-11-28 Thread Claus Ibsen
Hi This is on the roadmap for Camel 3.0 / SMX 5.0, to make it possible to install star/stop bundles which can add tracers / interceptors / etc. to any running Camel applications. On Mon, Nov 28, 2011 at 9:50 AM, Muenkel, Markus markus.muen...@sap.com wrote: Hello, For monitoring purposes I

Re: Custom messages in camel

2011-11-28 Thread Bilgin Ibryam
Hi Guru, I'm not sure if I got your question right, but may be you can use direct endpoint to send your hardcoded messages which will send them to a queue. Bilgin On 28 November 2011 06:49, Gnanaguru S gnanaguru.sattanat...@wipro.com wrote: Hi I am moving a xml file content from my file

Re: Creating logic among routes in camel

2011-11-28 Thread Bilgin Ibryam
On 28 November 2011 06:47, Gnanaguru S gnanaguru.sattanat...@wipro.com wrote: Hi I want to do this using camel. I have a route which picks a request1 and I want to send another request2 to someother webservice when request1 is hit. And what is the question? You have to give some more

Re: Query on content enricher in camel

2011-11-28 Thread Taariq Levack
I don't see why not, just don't tell the processor that it's a content enricher or it might have an identity crisis :) from(direct:a).process(new Processor() { public void process(Exchange exchange) { Message in = exchange.getIn(); in.setBody(Hello World, I have a hot new body!); }

Re: Query on content enricher in camel

2011-11-28 Thread Taariq Levack
BTW, there are other ways to route a different message to a different queue, I'm sure you'll get the hang of it, else ask when you get stuck. On Mon, Nov 28, 2011 at 12:11 PM, Taariq Levack taar...@gmail.com wrote: I don't see why not, just don't tell the processor that it's a content enricher

distributed transaction using JMS and EJB partecipants

2011-11-28 Thread Ronzat Luca
Hi, I would like to implement a route for: 1) Consume JMS message from Sonic queue; 2) Call one or more EJB running on a remote JBoss AS; 3) send a reply to a different Sonic JMS queue; Can I use distributed transaction for this route? Can we deploy this route as a WAR/EAR into

Re: org.apache.camel.spring.Main class not found exception

2011-11-28 Thread newbiee
Willem: Thanks for the reply. Here are all the dependencies defined in the pom file: (I have explicitly assigned the version) properties camel-version2.6.0/camel-version log4j-version1.2.16/log4j-version jaxb-api-version2.1/jaxb-api-version

CXF lists as arguments

2011-11-28 Thread cexbrayat
One of my routes is sending a message to an existing SOAP web service, declared in java as @WebResult @WebMethod(operationName = GET_INFO_PRODUITS) Infos getInfoProduits(@WebParam String code, *@WebParam ListRequest requests*); When i'm trying to send a list of requests, the output message is :

Problem Configuring WSS4JInInterceptor Using a Blueprint.

2011-11-28 Thread Chaks
Hello, Please can someone help me with configuring WSS4JInInterceptor using a Blueprint. I am using the below Blueprint, I have two IN Interceptors, LoggingInInterceptor WSS4JInInterceptor. The LoggingInInterceptor works perfect, however I am having issues with WSS4JInInterceptor, I am getting

Re: Spring AMQP Apache Camel Component Released

2011-11-28 Thread Martin Krasser
Good news, thanks for letting us know. I'll try it as soon as I can. Do you also plan to implement AsyncProcessor on the producer side? Cheers, Martin Am 28.11.11 06:03, schrieb deckerego: For those who might be interested, I've posted a Camel component based on Spring AMQP for those who wish

Re: org.apache.camel.spring.Main class not found exception

2011-11-28 Thread Taariq Levack
You've now mixed spring versions, you have 2.5 for spring-jdbc, for the rest you get 3.0.5 instead. Instead of this dependency... dependency groupIdorg.apache.camel/groupId artifactIdcamel-spring/artifactId version${camel-version}/version /dependency Can you try this

Re: CXF lists as arguments

2011-11-28 Thread Willem Jiang
It looks like you need to put the request body into to object Array like this new Object[] { requestList } On Mon Nov 28 18:39:49 2011, cexbrayat wrote: One of my routes is sending a message to an existing SOAP web service, declared in java as @WebResult @WebMethod(operationName =

Re: Configuration for Apache camel...

2011-11-28 Thread Willem Jiang
The Camel route is complex, but it is looking good. If the performance test result meets your need, I don't the questions those you ask will hit you in the production environment. On Mon Nov 28 18:33:32 2011, Omar Atia wrote: Dears, Kindly find attached Camel-context.xml Please let me know ,

Re: Problem Configuring WSS4JInInterceptor Using a Blueprint.

2011-11-28 Thread Willem Jiang
Can you check the request that you send has the security information in the soap message ? On Mon Nov 28 19:47:49 2011, Chaks wrote: Hello, Please can someone help me with configuring WSS4JInInterceptor using a Blueprint. I am using the below Blueprint, I have two IN Interceptors,

Re: Spring AMQP Apache Camel Component Released

2011-11-28 Thread deckerego
Indeed, that is definitely on my list. Right now I've kept things relatively simple as the component enters more exhaustive pre-production testing, but after we've validated the component that's on my hit list of things to do. Prior to the completion of testing I have on the docket to: - Allow

Re: Spring AMQP Apache Camel Component Released

2011-11-28 Thread Glen Mazza
Hi, your GitHub intro for this component says: An Apache Camel http://camel.apache.org/ Component that will natively communicate with a RabbitMQ http://www.rabbitmq.com/ broker. This is implemented using Spring's AMQP project, so it should ultimately become vendor-agnostic. I guess you mean

Re: Spring AMQP Apache Camel Component Released

2011-11-28 Thread deckerego
Vendor meaning different implementations of the AMQP spec, both the client libraries as well as the broker. For example, right now the Spring AMQP project only supports RabbitMQ and lists the RabbitMQ client libraries as a dependency. Spring doesn't necessarily implement their own AMQP client

convertBodyTo(org.w3c.dom.Document.class) fails

2011-11-28 Thread Tristan23
Hi, I am using convertBodyTo() to convert an XML document to DOM. Basically it works. Unfortunately I get messages with a preceding declaration: ?xml version=1.0 encoding=UTF-8 standalone=yes? This causes the convertBodyTo(org.w3c.dom.Document.class) to fail. What to do? -- View this

Re: Programatically using Camel with different jms providers

2011-11-28 Thread Ashwin Karpe
Hi, Please find an example of a camel route using ActiveMQ and WebsphereMQ. I have not used Glassfish and hence do not have an idea how instantiate a connection factory for Glassfish's JMS implementation. Obviously, you need to change the values for the connection factories accordingly. Cheers,

Re: IBM WAS - Aries 0.1 and Camel

2011-11-28 Thread mattmadhavan
Hi Claus, No we are using EBA - and using SCA(Tuscany) as an Asset. I would like to replace SCA with Camel. Any pointers regarding this will be greatly appreciated. Thanks Matt -- View this message in context:

Inconsistent results with File2 'readLock=changed'

2011-11-28 Thread GSegel
Using Camel 2.5 in JBoss 5.1. When dropping large files (over 200MB) into a directory I expected that the Exchange wouldn't kick off until the file had completed copying. More often than not, an Exchange is created before it finishes copying. We're using the 'readLock=changed' option btw. Is

Blueprint bundle + plain Main class from the same project?

2011-11-28 Thread Alexander Krauss
Dear list, I am playing with the cxf/osgi/blueprint example at http://camel.apache.org/cxf-example-osgi-blueprint.html. While deployment into Karaf works really nicely, I am looking for a way to start the same routes when no Karaf is available, either via mvn camel:run or preferably directly

Using headers and velocity

2011-11-28 Thread Castyn
I am trying to get a piece of information that is obtained via a cxfEndpoint into a velocity template that will be sent on down the route to other endpoints. Thus far I am trying something very basic and seems like it should work, just storing the sessionId retrieved via xpath as a header and

Re: Using headers and velocity

2011-11-28 Thread Christian Müller
Hello Eric! Is there a question? ;-) Best, Christian On Mon, Nov 28, 2011 at 10:51 PM, Castyn eric.ben...@gmail.com wrote: I am trying to get a piece of information that is obtained via a cxfEndpoint into a velocity template that will be sent on down the route to other endpoints. Thus far

Re: CSV to database

2011-11-28 Thread Christian Müller
Your route and your processor looks good. Which kind of error do you receive? Still the same? Best, Christian On Fri, Nov 25, 2011 at 8:13 PM, Idriss doulmakhzo...@gmail.com wrote: Of course. you find in attchement the source code for my example.

Programatically using Camel with different jms providers

2011-11-28 Thread tkatva
I have been searching for examples on how can I configure apache camel to use different Jms providers... For example if I have two remote application servers with with jms queues. Lets say a Weblogic and Glassfish. I want to be able to send messages from file or ftp endpoints to these application

Re: Problem Configuring WSS4JInInterceptor Using a Blueprint.

2011-11-28 Thread Chaks
Hello Willem, The SOAP request message don't have any security related information. Thanks, Chaks. -- View this message in context: http://camel.465427.n5.nabble.com/Problem-Configuring-WSS4JInInterceptor-Using-a-Blueprint-tp5028621p5029412.html Sent from the Camel - Users mailing list archive

Re: Problem Configuring WSS4JInInterceptor Using a Blueprint.

2011-11-28 Thread Freeman Fang
Hi, How your client send out soap request? If it's CXF client, you need use WSS4JOutInterceptor to add UsernameToken action ws-security header. Take a look at ws_security/ut example shipped with CXF kit to get more details about how to do it with java client code. Or you can also configure

Re: Using headers and velocity

2011-11-28 Thread Castyn
Well the last part of the route has nothing in the sessionId of the velocity template which is my issue, so I am wondering what is wrong with what I am doing really. -- View this message in context: http://camel.465427.n5.nabble.com/Using-headers-and-velocity-tp5030214p5030870.html Sent from the

Re: Blueprint bundle + plain Main class from the same project?

2011-11-28 Thread Willem Jiang
The cxf-example-osgi-blueprint only can be ran inside of OSGi container. You can not run it as a stand-alone Java process. On Tue Nov 29 05:31:06 2011, Alexander Krauss wrote: Dear list, I am playing with the cxf/osgi/blueprint example at

Re: Blueprint bundle + plain Main class from the same project?

2011-11-28 Thread Guillaume Nodet
There's a way actually. You need to use PojoSR which is a small library to emulate an OSGi framework but without the classloading (only the registry really). I've been able to have it run Blueprint. On Mon, Nov 28, 2011 at 22:31, Alexander Krauss alexander.kra...@qaware.de wrote: Dear list,