anonymous FTP login fails

2010-09-19 Thread preben
Hi Seems that there is a bug if you try to use ftp component with anonymous login eg. from("ftp://myftphost/myfolder";).to("file://target/transfer"); Camel 2.4.0 will try to do a anonymous login with user=anonymous and password = null with the result that you get a reply code 500 when sending nu

Re: Got NPE when invoking POJO producer

2010-09-19 Thread Willem Jiang
That's because your template isn't injected with a producerTemplate, as the impl instance is created by CXF not by Spring. Can you change the spring configure like this ? class="org.apache.servicemix.examples.cxf.HelloWorldImpl" /> ... Willem On 9/20/10 8:19 AM, xiaotao183 wrote: Hi

Re: Got NPE when invoking POJO producer

2010-09-19 Thread xiaotao183
Hi Claus, Webservice is not part of the route. What I want to achieve is when the webservice is invoked a message should be produced and sent to an endpoint (in this case direct:start is the endpoint). I tested my code using a web client and the NPE was thrown in the line of calling the template

Re: Camel-QuickFIX - JMX console to invoke quickfix server operations

2010-09-19 Thread vcheruvu
Hi Steve, I have been learning and getting my hands dirty with both Camel and Quickfix. It looks very promising and would like to run few test cases. Have you promoted your code to the Camel trunk yet? I haven't seen any of your JMX code in Camel-Quickfix component after reading earlier posts. Ha

Re: $headername = 'value still works?

2010-09-19 Thread Illtud Daniel
On 19/09/10 07:40, Claus Ibsen wrote: And could you double check that there is no old versions of camel in the classpath? And the data you send is valid XML Ah. That's the problem. Since I wasn't using xpath to actually search any xml, I had a test message with no valid xml content. If I switc

Re: Got NPE when invoking POJO producer

2010-09-19 Thread Claus Ibsen
The route you post does not use the web service in any way? That only routes to a log endpoint. And is your issue anyhow related to CAMEL-3136? https://issues.apache.org/activemq/browse/CAMEL-3136 On Sun, Sep 19, 2010 at 2:22 PM, xiaotao183 wrote: > > Hi, > > I was trying to use the @producer a

Got NPE when invoking POJO producer

2010-09-19 Thread xiaotao183
Hi, I was trying to use the @producer annotation in serivcemix to send a message to an endpoint. Here is the code @WebService(endpointInterface = "org.apache.servicemix.examples.cxf.HelloWorld") public class HelloWorldImpl implements HelloWorld { @EndpointInject(uri="direct:start")

Re: Spring Security

2010-09-19 Thread Willem Jiang
Hi, Can you try to use the Fuse ESB 4.3.0, Camel 2.4-fuse was shipped with it. Willem On 9/18/10 6:46 AM, Hossein wrote: Unfortunately, that won't work us. We have to use official released versions, which currently is fuse-4.2 which includes camel 2.2. Any other suggestions / doc reference i

Re: camel-ibatis and NoClassDefFound

2010-09-19 Thread Willem Jiang
On 9/18/10 4:13 AM, Darren Davison wrote: Hi Willem, I started with a clean install of Fuse and re-deployed everything from our features files.. the error disappeared. It's odd because this was happening on 2 development machines at the same time and clearing the data directory alone didn't fix

Re: Camel Cxf example. Jetty Server starting while JBoss already Running

2010-09-19 Thread Willem Jiang
On 9/17/10 10:49 PM, Indu wrote: Claus, Willem The solution worked like a charm. Big Thanks for you all. Meanwhile I am reading the chapters more closely to see how I can use the CamelHttpTransportServlet to handle all the endpoints in Java DSL because it is already handling few of