Re: Entity Manager is null

2013-07-03 Thread abhi
Hi Willem, Thanks a lot for valuable help. You are right, class was not managed by Spring. When I made it to managed by Spring its working fine. Regards, Abhi -- View this message in context: http://camel.465427.n5.nabble.com/Entity-Manager-is-null-tp5735076p5735163.html Sent from the Camel

Entity Manager is null

2013-07-02 Thread abhi
? Thanks, Abhi -- View this message in context: http://camel.465427.n5.nabble.com/Entity-Manager-is-null-tp5735076.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Issue with persisting data using openJPA

2013-06-25 Thread abhi
=openjpa.ConnectionPasswordhellooo/prop prop key=openjpa.LogEnhance=TRACE,SQL=TRACE/prop prop key=openjpa.jdbc.SynchronizeMappingstrue/prop /props /property /bean Thanks, Abhi -- View this message

Issue with persisting data using openJPA

2013-06-19 Thread abhi
org.apache.openjpa.persistence.ArgumentException: A JDBC Driver or DataSource class name must be specified in the ConnectionDriverName property. Available properties in configuration are org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl@b4699c27 Can someone help me on this. Thanks regards, Abhi -- View this message in context: http

Re: Update database using openJpa in camel route

2013-06-14 Thread abhi
When I am trying to post my route it is automatically disappears from post. I can see it when I 'Preview Message', but disappears when I click on 'Post Message' Here is my route again. loop simple${in.header.employeeSummaryListCount}/simple

Update database using openJpa in camel route

2013-06-14 Thread abhi
: JPA producer only: Indicates to use entityManager.persist(entity) instead of entityManager.merge(entity). Note: entityManager.persist(entity) doesn't work for detached entities (where the EntityManager has to execute an UPDATE instead of an INSERT query)! Thanks Regards,ABhi -- View this message

Issue with output format from POJO to JSON marshalling

2013-04-30 Thread abhi
I hvae written camel route which is doing following. Step 1: Web service is consuming TCAUpdate object Step 2: This object is marshelled to JSON object using jackson library Step 3: This generated JSON is stored in one file *UpdateTCA.java* public class UpdateTCA { int id;

Issue in Calling REST web service through Camel

2013-04-18 Thread abhi
org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor processRequest WARNING: No root resource matching request path /cxf-rest-example/myservice/users has been found, Relative Path: /. Please enable FINE/TRACE log level for more details. Enter Something: Thanks, Abhi -- View this message in context: http

Re: Issue in Calling REST web service through Camel

2013-04-18 Thread abhi
uri=http://localhost:8080/myservice/users; / This will probably 'fix' it, or have from uri=http://localhost:8080/example/myservice/users; / @Path(/example/myservice/) @Produces(application/xml) public class ServiceImpl implements ServiceDefn HTH, Sergey On 18/04/13 14:52, abhi wrote: Hi, I

Re: Calling WebService with Camel

2013-04-18 Thread abhi
; @WebService(endpointInterface = com.server.HelloFirst) public class HelloFirstImpl { public String myHello(String str){ return HelloFirstImpl: Hello :+str; } } Thanks, Abhi -- View this message in context: http://camel.465427.n5.nabble.com/Calling-WebService

Re: Calling WebService with Camel

2013-04-18 Thread abhi
You can also refer to http://camel.465427.n5.nabble.com/How-to-call-CXF-web-service-from-Camel-td5729692.html#a5729744 http://camel.465427.n5.nabble.com/How-to-call-CXF-web-service-from-Camel-td5729692.html#a5729744 Thanks, ABhi -- View this message in context: http://camel.465427.n5

Re: How to call CXF web service from Camel

2013-03-31 Thread abhi
I have created JAR file of web service project and added it in my Camel project build path and everything is working fine now. Thanks for your help -- View this message in context: http://camel.465427.n5.nabble.com/How-to-call-CXF-web-service-from-Camel-tp5729692p5730119.html Sent from the

Re: How to call CXF web service from Camel

2013-03-25 Thread abhi
in so that it will work 1) address 2) endpointName 3) serviceName 4) servicClass Thanks , Abhi -- View this message in context: http://camel.465427.n5.nabble.com/How-to-call-CXF-web-service-from-Camel-tp5729692p5729744.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to call CXF web service from Camel

2013-03-22 Thread abhi
Hi All, I am new to Apache Camel and I am trying to call CXF web service from Camel. Here is my camel-context.xml -- route id=test3 from uri=stream:in?promptMessage=Enter Something:/ to uri=cxf:bean:HelloService/