Re: camel-xmlsecurity - Not able to set KeyAccessor

2013-09-14 Thread lmanchanda75
Through my study on internet this seems like class loader issue, but no clue on how to solve this in current situation. -- View this message in context: http://camel.465427.n5.nabble.com/camel-xmlsecurity-Not-able-to-set-KeyAccessor-tp5739339p5739373.html Sent from the Camel - Users mailing lis

camel-xmlsecurity - Not able to set KeyAccessor

2013-09-14 Thread lmanchanda75
Hi, I am trying to use xmlsecurity component, but while trying to set the keyAccessor I get classCast exception as detailed in the error below. Please see what can I correct. Following is the bean definition in camel-context blueprint Following is the route defined in camel-cont

Re: camel cache

2013-09-02 Thread lmanchanda75
Hi Claus, I have created the following Jira ticket. https://issues.apache.org/jira/browse/CAMEL-6698 Will work to do the improvement and submit. Regds lalit -- View this message in context: http://camel.465427.n5.nabble.com/camel-cache-tp5738435p5738509.html Sent from the Camel - Users mail

camel cache

2013-09-01 Thread lmanchanda75
Hi,The camel cache implementation which provides an ehcache integration component forces a serializable object though ehcache allows non-serializable objects too if clustering is not required. This makes in unusable for some scenarios. Any specific reason for doing so?Regdslalit -- View this mes

Re: Camel HTTP4, not able to use httpContext endpoint option

2013-07-21 Thread lmanchanda75
Hi, Following is the complete stracktrace: JBossFuse:karaf@root> org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: http4://172.16.1.100?authPassword=password&authUsername=username&httpClient.connectionTimeout=4000&httpClient.soTimeout=16000&httpContext=m essageBrokerA

Camel HTTP4, not able to use httpContext endpoint option

2013-07-20 Thread lmanchanda75
Hi, I want to set preemtive auth On of the servers, I am using http4 component, going through various posts/camel documentation (http://camel.apache.org/http4.html), I arrived at conclusion that I need to set httpContext on the component/endpoint. I wrote a small piece of code to create HttpContex

Re: Camel-Cxf Payload Mode - DefaultSEI not found

2013-06-14 Thread lmanchanda75
Hi Aki, It works with your suggestion, though I don't fully understand how setting header here gets translated to HTTP header, and hence what all can I do like this? Regds Lalit -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Cxf-Payload-Mode-DefaultSEI-not-found-tp57

Re: Camel-Cxf Payload Mode - DefaultSEI not found

2013-06-13 Thread lmanchanda75
Hi aki, Thanks for the help, you are right, I don't want to use wsdl or service class. And the import thing worked. regds lalit -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Cxf-Payload-Mode-DefaultSEI-not-found-tp5734122p5734168.html Sent from the Camel - Users ma

Re: Camel-Cxf Payload Mode - DefaultSEI not found

2013-06-13 Thread lmanchanda75
Hi , I am stuck with other issue, where the server is responding with Client.NoSOAPAction

Camel-Cxf Payload Mode - DefaultSEI not found

2013-06-12 Thread lmanchanda75
Hi Experts, I am writing a PAYLOAD mode client and for the same I have defined following blueprint: http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/blueprint";

RE: Working with Exchange from outside route

2013-05-30 Thread lmanchanda75
Thanks for the inputs, I have made a sample, just putting it below of any body else reference http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/blueprint"; xsi:schemaLocation="

Working with Exchange from outside route

2013-05-30 Thread lmanchanda75
Hi Experts, I am working on an application which exposes APIs used by application used by end users. We need to be responsive to the customers, and we have created a Java timer libarary functionality for timeouts and callbacks. We call this libabrary from a bean processor within a route in the

Re: Exception doesn't get cauhgt in the route

2013-05-30 Thread lmanchanda75
Hi Ali, The route based exceptions are working fine for us, following is the example. Not sure but I have a suggestion for you, can you try catching a generic Exception, it may be due to different exception being raised. VoltException

Re: camel jpa issue

2013-05-27 Thread lmanchanda75
Hi Claus, Thanks. It was the problem. I figured out that I was not using consumeDelete=false. Meanwhile I think that by default consumeDelete should be false than true, as a small mistake can cause data loss in production. Regds Lalit -- View this message in context: http://camel.465427.n5.

Re: camel jpa issue

2013-05-27 Thread lmanchanda75
I figured this out, the null was coming because of me not defining any attribute as @Id in PurchaseOrder entity. But now when I run this, it goes in a loop of the following, without moving to next point it route (log). See if anybody can help me on this. 20:43:50,204 | DEBUG | pa.PurchaseOrder |

camel jpa issue

2013-05-27 Thread lmanchanda75
hi, I am having an issue in application using jpa (as consumer), following is the camel context. http://www.osgi.org/xmlns/blueprint/v1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/blueprint"; xmlns:jpa="http://ari

Proxy Settings not working on Jboss Fuse 6.0

2013-05-10 Thread lmanchanda75
Hi, I am working on Fuse on Windows 7, the default maven repository is under .m2/repository. Maven under Fuse IDE and from the command line also uses the same settings and repository. Both the IDE and command line tool works fine to get download the dependencies. I tried installing cbr from the e

java.lang.NoClassDefFoundError: org/w3c/dom/Node

2013-05-10 Thread lmanchanda75
Hi, We are trying to use Smooks library, everything gets installed properly as a FAB and get the following Import-Package List, Import-Package = com.bea.xml.stream;resolution:=optional, com.sun.jdi;resolution:=optional, com.sun.jdi.connect;resolution:=optional, co

JPA FAB fails to start

2013-05-10 Thread lmanchanda75
Hi, I am working on a simple JPA app on Jboss Fuse 6.0, which is using openJPA as a provider, attempts to connect to postgres. It installs, but when starting it fails with the following error. I am attaching the pom.xml, blueprint.xml and persistence.xml being used for the project. I see some simi

Re: camel-hibernate example problem

2013-04-30 Thread lmanchanda75
Just taking liberty here, as I am using Fuse, do we have support for hibernate 4.x on it? -- View this message in context: http://camel.465427.n5.nabble.com/camel-hibernate-example-problem-tp5731769p5731780.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-hibernate example problem

2013-04-30 Thread lmanchanda75
The original message got all mixed up, so putting it up again: Hi , I am trying to run the example on camel hibernate from camel-extra source on code.google, I got the code from trunk. The camel-context.xml is using hibernat4 for transaction manager and session factory, ** ** while camel-hiber

Re: Registry not able to find Bean at run time

2013-04-11 Thread lmanchanda75
Hi, I used the bean Id defined in the camel-context instead of the Class Name, I could get the service. Not sure if this is standard or an issue? Regds Lalit -- View this message in context: http://camel.465427.n5.nabble.com/Registry-not-able-to-find-Bean-at-run-time-tp5730630p5730709.html S

Re: Registry not able to find Bean at run time

2013-04-10 Thread lmanchanda75
I further tried doing explicit registry search using ComvivaUssdAdapter handler = (ComvivaUssdAdapter) exchange.getContext().getRegistry().lookup("ComvivaUssdAdapter"); But I got null in the handler. Regds Lalit -- View this message in context: http://camel.465427.n5.nabble.com/Registry-not

Re: Registry not able to find Bean at run time

2013-04-10 Thread lmanchanda75
Hi, Changing to Camel version 2.8.0 has not helped even. Please see if you can help further. Regds Lalit -- View this message in context: http://camel.465427.n5.nabble.com/Registry-not-able-to-find-Bean-at-run-time-tp5730630p5730649.html Sent from the Camel - Users mailing list archive at Na

Re: Registry not able to find Bean at run time

2013-04-10 Thread lmanchanda75
Hi, Following are the two files, pom_jetty is from code which is working, pom_volt is not working. The only difference which I could see was difference in version of camel. I will try changing the version, but if you can meanwhile suggest anything else by looking at the files. Regds Lalit po

Re: Registry not able to find Bean at run time

2013-04-10 Thread lmanchanda75
Hi Claus, Thanks for your quick response. I order to try this out I made one more sample application, with following context http://camel.apache.org/schema/spring";> com.fusesource.fusebyexample http://0.0.0.0:1010/volt?sessionSupport=true"; id="ussd-1"> This endpoint

How to get Id of an Endpoint

2013-04-07 Thread lmanchanda75
Hi, I have created a context using camel context xml. I have set the id of an endpoint while configuring, http://localhost:/ussdService?sessionSupport=true"; id="ussd-1"> I need to get this value during execution. I tried the following code to get the id in processor of the