Re: how to set attachment headers in camel exchange?

2013-01-18 Thread Willem jiang
Hi You can override the DefaultCxfBinding by configure it in your camel-cxf URI with the option cxfBinding=#bindingName. You need to bind the instance of the ISGCxfBinding with the name of bindingName. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource

RE: Cannot change directory to: \

2013-01-18 Thread DOLECEK Ales
You are probably using '\' as path separator. Maybe System property 'file.separator' is '\' on Windows. Ales -Original Message- From: iyusuf [mailto:iqbalyusufdipu+mailingl...@gmail.com] Sent: Friday, January 18, 2013 1:17 AM To: users@camel.apache.org Subject: Cannot change directory t

Re: Dynamic XSL from Content

2013-01-18 Thread sammm
Ok, worked it out - it was due to the XPath having already accessed the 'stream' before the XSL was used. adding streamCache ('') fixed it. Martin -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-XSL-from-Content-tp5725634p5725755.html Sent from the Camel - Users mail

RE: Route Dependency in XML DSL + JPA

2013-01-18 Thread Gershaw, Geoffrey
Hello, Thanks for your reply. This strategy appears not to work. Using the jpa component in the to endpoint tries to store the entity in the message body into the db. This results in a null pointer. I am trying to retrieve entities from the db using jpa. So once route A completes, route B should

add custom soap-header from pojo message

2013-01-18 Thread Gabriel
Hi, I have a Problem with cxf soap-headers. I set up an cxf-project with the Contract-firs-development method. I want to call a web service with an cxf-component which uses a wsld: _ http://localhost:8080/iccs-xsoap/CustomerService

Strange issue using camel + cxf + policy

2013-01-18 Thread Charles Moulliard
Hi, I have created a Camel route where the user is authenticated using JAAS & ws-security (works fine) ad authorized with Spring Security (works fine) but when the response is populated (IN A WRONG WAY) I get this error : ERROR https://gist.github.com/a56d18ca8585b9624787 WSDL https://gist.git

Spring XML configuration variables

2013-01-18 Thread erstanl
Sorry if this is the wrong forum for this question. I am trying to build a camel route that consumes from a JMS queue and uses a selector. The problem is, I would like to use a selector based upon a spring variable. I can't seem to convince spring/camel to dereference that variable. What am I missi

Re: Spring XML configuration variables

2013-01-18 Thread Claus Ibsen
Hi Welcome to the community. This is the right forum, the user forum. See this FAQ about your spring placeholder issue http://camel.apache.org/how-do-i-use-spring-property-placeholder-with-camel-xml.html On Fri, Jan 18, 2013 at 5:17 PM, erstanl wrote: > Sorry if this is the wrong forum for thi

Re: Strange issue using camel + cxf + policy

2013-01-18 Thread Charles Moulliard
Find the reason. That was my mistake NotAuthorizedUser --> NotAuthorizedUserException ! On Fri, Jan 18, 2013 at 4:32 PM, Charles Moulliard wrote: > Hi, > > I have created a Camel route where the user is authenticated using JAAS & > ws-security (works fine) ad authorized with Spring Security (wo

How to avoid that "" with camel cxf

2013-01-18 Thread Charles Moulliard
Hi, My camel cxf project uses SOAP fault and Exceptions classes. They are generated by cxf 2.6.4 (camel used = 2.10.3) package com.redhat.fuse.example; import javax.xml.ws.WebFault; /** * This class was generated by Apache CXF 2.6.4 * 2013-01-18T17:50:59.270+01:00 * Generated source version:

JPA Component Behavior

2013-01-18 Thread Gershaw, Geoffrey
Hello once more, So I read in the documentation that the jpa component polls the db. Kinda a poor man's queue. I had hoped that this behavior would be configurable. I don't want to poll. I just want to retrieve the entities 1 time. I would think the jpa component could do this. It doesn'

Re: Spring XML configuration variables

2013-01-18 Thread erstanl
Thanks for the quick reply Claus. For those who run into the same issue, this was the change I made to the route: And more importantly, I had to comment out my spring and implement this: So I replaced this: with this: All is well at the Camel fa

Re: Route-scoped errorHandler and useOriginalMessage problem

2013-01-18 Thread Christian Müller
You can copy the body at the beginning of your route to a header/property. Sent from a mobile device Am 17.01.2013 23:04 schrieb "ncolomer" : > Hi Claus, > > Thanks for your answer. I imagine their is no way to retrieve the body as > it > was received by the Route that failed? If so, is their any

Re: JPA Component Behavior

2013-01-18 Thread Chris Wolf
On Fri, Jan 18, 2013 at 12:01 PM, Gershaw, Geoffrey wrote: > Hello once more, > > > > > > So I read in the documentation that the jpa component polls the db. > Kinda a poor man's queue. I had hoped that this behavior would be > configurable. I don't want to poll. I just want to retrieve the entiti

Re: Route-scoped errorHandler and useOriginalMessage problem

2013-01-18 Thread ncolomer
Hi Christian, Currently, I base my deadLetterChannel logic on the received message body type. But you provide me another nice way to handle that :) Thanks for your answer! Regards, Nicolas 2013/1/18 Christian Mueller [via Camel] < ml-node+s465427n5725785...@n5.nabble.com> > You can copy the bo

how to intercept route builder "to" route for audit logging

2013-01-18 Thread dvsridhar
Hi, We have to provide audit log for our http routes, for which, we host bunch http proxy routes using servlet component which routes the request to the provider using http producer. The following route does wireTap after "from" and "to" routes. However, when the wiretap finishes, i am getting t

Re: JPA Component Behavior

2013-01-18 Thread Chris Wolf
On Fri, Jan 18, 2013 at 12:01 PM, Gershaw, Geoffrey wrote: > Hello once more, > > > > > > So I read in the documentation that the jpa component polls the db. > Kinda a poor man's queue. I had hoped that this behavior would be > configurable. I don't want to poll. I just want to retrieve the entiti