Re: Problem with cxf web service invocation via nmr transport

2012-11-12 Thread tnk
Hi Willem, I have enabled jaxws client logging feature and it doesn't receive any response when soap fault without detail is returned from cxf service. (when soap fault with detail is returned or successful response - everything works fine) -- View this message in context: http://camel.465427.n

Re: Can I perform a move file operation in camel?

2012-11-12 Thread Claus Ibsen
You need to use the constant value from ExecBinding.EXEC_COMMAND_ARGS. https://svn.apache.org/repos/asf/camel/trunk/components/camel-exec/src/main/java/org/apache/camel/component/exec/ExecBinding.java On Tue, Nov 13, 2012 at 2:33 AM, gramanero wrote: > Any idea as to why this does not seem to wo

Re: How to set the dynamic key information in camel PGP encryption/decryption

2012-11-12 Thread Willem jiang
I think it could more common practice if we put the key information into the message header. FYI, I just committed a simple patch into the trunk[1] Normally we don't add new feature into the maintenance branch, but you can back port the patch to the 2.10.3 branch if you need it right now. [1]htt

Re: Problem with cxf web service invocation via nmr transport

2012-11-12 Thread Willem jiang
Hi, Can you check the message that JAXWS client received by setting up the logging interceptor? If the message is received, the client should throw the exception like the http transport does. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | htt

Re: Mixed HTTP and HTTPS Listeners Using CXF

2012-11-12 Thread Willem jiang
As the jetty engine is configured through the port, you can define a bunch of engine inside on engine-factory. CXF bus will look up the jetty engine factory for you and setup the jetty connector with the setting you configured. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat W

Re: Can I perform a move file operation in camel?

2012-11-12 Thread gramanero
Any idea as to why this does not seem to work? /C move ${body[FileDetails][FilePath]}\\${body[FileDetails][FileName]} E:\\temp I am attempting to build the set of arguments dynamically. I found a thread that seemed to indicate that I could set the ExecBinding.EXE_COM

Re: Setup of JMS message listener failed Exception JmsComponent

2012-11-12 Thread javaxmlsoapdev
yeah. Queue definitely exists, i am able to connect through other tool. I am using camel version 2.10.0. As such there is no stack trace since camel/spring reports that as a WARN 2012-11-12 14:54:34.231 [Camel (camelContext) thread #1 - JmsConsumer[] [WARN ] org.apache.camel.component.jms.Defaul

Re: Can I perform a move file operation in camel?

2012-11-12 Thread gramanero
Nice! It looks like camel-exec will work for me. I just need to figure out how to dynamically build up arguments for the move command. I tried using the $simple{...} syntax, but that doesn't seem to be working. Thanks again for help! -- View this message in context: http://camel.465427.n5.nabbl

Re: Can I perform a move file operation in camel?

2012-11-12 Thread Hadrian Zbarcea
If you just need to move, camel-exec would help. If you want to process the file and move after processing, a custom strategy with the file component from camel-core would help (with something like pollEnrich, I guess). Cheers, Hadrian On 11/12/2012 02:17 PM, ramkumar.i...@cognizant.com wrote

RE: Can I perform a move file operation in camel?

2012-11-12 Thread Ramkumar.Iyer
I am not a Camel expert but can use simple (http://camel.apache.org/simple.html) to get to the name and path of file and then put it in the outbound queue -Original Message- From: gramanero [mailto:graman...@gmail.com] Sent: Tuesday, November 13, 2012 12:19 AM To: users@camel.apache.org

Can I perform a move file operation in camel?

2012-11-12 Thread gramanero
I am hoping that this is possible, but I am struggling with figuring out a solution. What I need to know is, can I move a file that already exists on the file system and to another folder using Spring DSL? I have a route that gets kicked off by having a JSON message placed onto an ActiveMQ queue.

Re: Split with xpath loses root element namespaces

2012-11-12 Thread Henrique Viecili
I've analyzed a generic implementation using DOM to copy the namespaces but due to lack of time to check performance impact I ended up with a faster solution specific to my route. As I was using JAXB to unmarshal the XML in a later moment I decided to unmarshal it earlier and split using simple lan

Re: Help on deploying Camel on Weblogic 12c. Name Collision

2012-11-12 Thread metatech
Hi rinotan, Strange. Are you sure that the rebuild and redeploy were complete ? If you have "camel-blueprint" in your WAR, you can also try the same trick with "org.apache.camel.blueprint". If that still does not work, you could open all "camel-*.jar" in your WAR and add a "jaxb.properties" next

Re: Mixed HTTP and HTTPS Listeners Using CXF

2012-11-12 Thread peter.berkman
I got it to work. I put different engine-factories on each port with DIFFERENT engine-factory id's and the same "cxf" bus name. It seems that this "id" should really be on the engine instead of the factory - no? anyway, it does seem to work - if you want just "http", simply do NOT declare an en

Problem with cxf web service invocation via nmr transport

2012-11-12 Thread tnk
Hello, I have simple cxf endpoint (using NMR transport), configured as follows: http://www.w3.org/2001/XMLSchema-instance";> And the camel route implementing service: (1) (1) FatalProcessor just throws Exception: public vo

Mixed HTTP and HTTPS Listeners Using CXF

2012-11-12 Thread peter.berkman
so, now that the issues around dynamic configuration are resolved, the next problem I'm encountering is being able to have both HTTP and HTTPS listeners in CXF (different ports of coarse). I tried having an engine-factory setting for each and ever port, then I tried having just one engine-factory

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-11-12 Thread anaCortes
I´ve changed the unit test. Now i´m using the CamelJmsTestHelper for the JmsComponent (now there´s no external broker) and i´ve added setAssertPeriod to the mock. /** * @author anacortes */ public class JmsReplyToCacheLevelNameTest extends CamelTestSupport { protected CamelContext creat

Re: Camel performance tuning

2012-11-12 Thread Claus Straube
Have you tried a higher completion size? For us 750 was the best. On 09.11.2012 19:59, Gonzalo Vasquez wrote: Ok, I've included an aggregator in the splitter, as follows:

RE: Rollback and redeliver JMS message between Websphere and MQ via Camel

2012-11-12 Thread De Backer Frederik (Belfius)
Thanks for the feedback. I change my route definition into the below: http://camel.apache.org/schema/spring"; id="camelContext">

Re: Trouble when combining cxf server services and cxf-over-camel transport for a client service

2012-11-12 Thread David Karlsen
Eventually I was able to solve this myself (but I have used hours on it). I removed the explicit config of the transportFactory - and got another error message from the producers in the camel-route, but when I explicitly told these producers which camelContext was in use it all worked in the end.

Re: Obtain CXF Request?

2012-11-12 Thread Sergey Beryozkin
On 07/11/12 01:55, Calvert, Zach (Zach)** CTR ** wrote: I found the solution! You can obtain a reference to the CXF CamelMessage context using @Context org.apache.cxf.jaxrs.ext.MessageContext cxfMessage As a parameter in your cxfbean. From there, you can access the CamelHttpServletRequest usin

Re: Propery Placeholder within WHEN

2012-11-12 Thread Claus Ibsen
On Mon, Nov 12, 2012 at 10:26 AM, martin11 wrote: > Hello, > > I`m trying to setup message header with constant from property file. When I > use following XML configuration everything works perfect and I got what I > expected. > uri="timer://foo?fixedRate=true&period=4s"/> headerNam

Re: Propery Placeholder within WHEN

2012-11-12 Thread Claus Ibsen
Hi What version of Camel are you using? On Mon, Nov 12, 2012 at 10:26 AM, martin11 wrote: > Hello, > > I`m trying to setup message header with constant from property file. When I > use following XML configuration everything works perfect and I got what I > expected. > uri="timer://foo?fix

Re: JMS - Shared fixed reply queue doesn´t consume all the messages

2012-11-12 Thread anaCortes
Hi Christian, thank you for your answers :) I´ve changed: new ActiveMQConnectionFactory("tcp://localhost:61616") to: new ActiveMQConnectionFactory("vm://myBroker") With this change i can still reproduce the problem, but if you cannot do it then I´m missing something... -- View this message i