camel-xmljson unmarhalling issue Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.sf.json.JsonConfig

2016-11-16 Thread bharadwaj
Hi, Camel-xmljson is not working and throwing error runtime when enable camel tracing. Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.sf.json.JsonConfig Jboss fuse 6.1.0 feature added - camel-xmljson java version - 1.7.0_111 -- View this message in context:

camel JMS component client connects to Weblogic queue. Fuse restart requires whenever Web logic bounced.

2016-09-07 Thread bharadwaj
Hi, camel JMS component client connects to Weblogic queue. Fuse restart requires whenever Web logic bounced. Jms pulls mgs from wbelogic server. Whenever weblogic bounced , JMS retry every 5000 ms but it never connected automatically when weblogic is up. we need to restart Fuse every-time.

Camel-cxf is removing square brackets in soap response

2016-08-23 Thread bharadwaj
Hi, We have observed that "[]" are getting removed from soap response. We have service, which calls external soap service and while external soap service returns response like test test[square] abcd we are getting out put as test testsquare abcd Please help... -- View this message in

Re: Invalid content was found starting with element 'exchangeProperty'

2015-07-05 Thread bharadwaj
Thank you. It's class path issue, resolved after re-build the projects. -- View this message in context: http://camel.465427.n5.nabble.com/Invalid-content-was-found-starting-with-element-exchangeProperty-tp5768835p5768894.html Sent from the Camel - Users mailing list archive at Nabble.com.

adviceWith is throwing UnsupportedOperationException when route have choice definition

2015-07-05 Thread bharadwaj
camel version 2.15.1 java version 1.8.0_45 Exception : java.lang.UnsupportedOperationException: null at java.util.AbstractList.add(AbstractList.java:148) at org.apache.camel.builder.AdviceWithTasks$1.task(AdviceWithTasks.java: 151) at

Re: Invalid content was found starting with element 'exchangeProperty'

2015-07-03 Thread bharadwaj
i am trying to upgrade jboss fuse 6.1.0 to 6.2.0. earlier camel 2.12 - route from uri=direct:a / recipientList propertymyProperty/property /recipientList /route camel property expression changed since camel 2.15 onwards : from uri=direct:a / recipientList

Invalid content was found starting with element 'exchangeProperty'

2015-07-03 Thread bharadwaj
Hi, Camel 2.15.1 is not able to identify the exchangeProperty in recipientList. nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'exchangeProperty' -- View this message in context:

Re: How to consume sql blob object and save it as zip file in camel

2015-06-19 Thread bharadwaj
The BLOB object is an xml type to do process as u described. BLOB may have any type IMAGE , PDF, ZIP etc.. in my case i am storing zip file which contains list of multi format files as a BLOB in data base. camel sql component has outputType=SelectOne which give us stream object using stream

what is the best approach to consume restful service?

2015-06-18 Thread bharadwaj
) Thanks, Bharadwaj nakka -- View this message in context: http://camel.465427.n5.nabble.com/what-is-the-best-approach-to-consume-restful-service-tp5768381.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to consume sql blob object and save it as zip file in camel

2015-06-18 Thread bharadwaj
Hi, I have sql data base : which have zip file content in terms of BLOB , Using camel i need to consume it and store it as zip file in file directory. Can anybody help me out. Thanks, Bharadwaj nakka -- View this message in context: http://camel.465427.n5.nabble.com/How-to-consume-sql-blob

Re: Is there way to parse in camel cxf endpoint for empty tag's as name/name

2015-05-22 Thread bharadwaj
No buddy, name is of the element in the response. If we dont pass any data to elements CXF is parsing it as name/ but i need the empty tag's like this name/name -- View this message in context:

Is there way to parse in camel cxf endpoint for empty tag's as name/name

2015-05-20 Thread bharadwaj
Hi Team, I have problem with camel CXF, When there is no data / element is empty then i am getting response as name/. I need the response as name/name. Please help me. -- View this message in context:

How do I call a NTLM secured webservice using Camel-http4?

2015-01-28 Thread bharadwaj
Hi Friends, Can any body point out sample code snippet on how to produce/call NTML secured webservice using camel-http4 component? or please advise, how to achieve it in some other way? Thanks in Advance -- View this message in context:

Re: How do I call a NTLM secured webservice using Camel-cxf?

2015-01-28 Thread bharadwaj
Anil, may be in the given code snippet header is missing but we have set the header for operation name. On Wed, Jan 28, 2015 at 5:05 PM, Anil Vunnava [via Camel] ml-node+s465427n5762177...@n5.nabble.com wrote: Hi Bharadwaj, May I know the web methods (operations) in your web service

How do I call a NTLM secured webservice using Camel-cxf?

2015-01-28 Thread bharadwaj
cxf:cxfEndpoint id=TestService address=${TestServiceServiceUrl} endpointName=test:CustomBindingService serviceName=test:OrgService xmlns:crm=http://schemas.microsoft.com/xrm/2011/test/Services; wsdlURL=Artifacts/wsdl/testService.wsdl

Re: Choosing between Mapping Options

2015-01-22 Thread bharadwaj
Camel - provides users java code free environment , it has various components to fulfill users requirement. The best way is to use XQuey?XSLT to form INBOUND / OUTBOUND messages. While XQuery can be used for simple transformations, it lacks the power and sofistication of XSLT (especially

Caused by: java.net.MalformedURLException: no protocol: ${systemurl}

2014-11-17 Thread bharadwaj
For example , i am reading the camel property as below systemurl setProperty name=systemurl xquery type=java.lang.string/test/text()/xquery /setProperty to uri=cxf:bean:WS?address=${systemurl}amp;dataFormat=PAYLOAD / is it right to define? or is there any other way to read the camel property?

Re: Caused by: java.net.MalformedURLException: no protocol: ${systemurl}

2014-11-17 Thread bharadwaj
When we use recipient List , could not handle exception bypassing to global exception camel 2.10, I know this has been fixed in camel 2.12. we cant migrate it now because it's already in production. Could you please give me any other alternative use it in camel:to? -- View this message in

Re: route information is not coming with camelContext.getRoute(route1)

2014-11-03 Thread bharadwaj
The old option shouldStartContext have been removed and replaced with this new autoStartup option instead. What it allows is to configure Camel to not auto start when Spring starts. So how do you start Camel then? The autoStartup option on the camelContext is only used once, so you can manually

camel-netty component sping DSL working example

2014-06-04 Thread bharadwaj
Hi Users, How to use camel-netty component for telnet connection? -- View this message in context: http://camel.465427.n5.nabble.com/camel-netty-component-sping-DSL-working-example-tp5751867.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: The PayLoad elements cannot fit with the message parts of the BindingOperation.

2014-05-05 Thread bharadwaj
Message body is matching with operation please find the camel code as below: camel:setHeader headerName=operationNamespace camel:constanthttp://minspa.csi.nsn.com/camel:constant /camel:setHeader camel:setHeader headerName=SOAPAction

Re: camel-validator : parser doesn't allow a maxOccurs attribute value to be set greater than the value 5 000

2014-04-30 Thread bharadwaj
Could you please explain where exactly you made a change? -- View this message in context: http://camel.465427.n5.nabble.com/camel-validator-parser-doesn-t-allow-a-maxOccurs-attribute-value-to-be-set-greater-than-the-value-5-0-tp5747680p5750714.html Sent from the Camel - Users mailing list

Re: XMLConstants.FEATURE_SECURE_PROCESSING feature setting in jboss-fuse-6.1

2014-04-30 Thread bharadwaj
The solution is not proper.. and it's perfectly working in jboss fuse 6.0 even with same version. -- View this message in context: http://camel.465427.n5.nabble.com/XMLConstants-FEATURE-SECURE-PROCESSING-feature-setting-in-jboss-fuse-6-1-tp5750712p5750715.html Sent from the Camel - Users

The PayLoad elements cannot fit with the message parts of the BindingOperation.

2014-04-30 Thread bharadwaj
CaughtExceptionType:java.lang.IllegalArgumentException, CaughtExceptionMessage:The PayLoad elements cannot fit with the message parts of the BindingOperation. Please check the BindingOperation and PayLoadMessage., StackTrace:java.lang.IllegalArgumentException: The PayLoad elements cannot fit with