Re: cfx web service client error

2014-12-15 Thread dharshan
Hi

I have pasted below my java class




public class CamelCfxTest extends RouteBuilder {

String endPoint = "cxf:
http://123.231.66.11/gslwsairavailabilitydisplay/Service1.asmx?wsdlURL=galieo.wsdl";
//
+ "&dataFormat=PAYLOAD" //
+ "&serviceName={http://tempuri.org/}Service1"; //
+ "&synchronous=true" //
+ "&loggingFeatureEnabled=true" //
+ "&portName={http://tempuri.org/}Service1Soap";;

public static void main(String[] args) throws Exception {
CamelContext camelContext = new DefaultCamelContext();
camelContext.addRoutes(new CamelCfxTest());
camelContext.start();
Thread.sleep(1000);
}

@Override
public void configure() throws Exception {

from("file://Input").to(endPoint).process(new Processor() {

public void process(Exchange exchng) throws Exception {
System.out.println("exchng " + exchng.getIn(String.class));
}
});
}

}






On Mon, Dec 15, 2014 at 8:19 PM, Willem.Jiang [via Camel] <
ml-node+s465427n5760706...@n5.nabble.com> wrote:
>
> It looks like you didn’t setup your camel route rightly?
> Can you show me your camel route?
>
> --
> Willem Jiang
>
> Red Hat, Inc.
> Web: http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (English)
> http://jnn.iteye.com (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>
>
>
> On December 15, 2014 at 10:31:09 PM, dharshan ([hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5760706&i=0>) wrote:
>
> > Hi Willem
> >
> >
> > now am getting below error
> >
> > Response-Code: 500
> > Encoding: UTF-8
> > Content-Type: application/soap+xml; charset=utf-8
> > Headers: {Cache-Control=[private], connection=[keep-alive],
> > Content-Length=[508], content-type=[application/soap+xml;
> charset=utf-8],
> > Date=[Mon, 15 Dec 2014 12:14:53 GMT], Server=[Microsoft-IIS/7.5],
> Via=[1.0
> > proxy (squid/3.1.8)], X-AspNet-Version=[4.0.30319], X-Cache=[MISS from
> > proxy], X-Cache-Lookup=[MISS from proxy:3128], X-Powered-By=[ASP.NET]}
> > Payload: soap:Receiver> xml:lang="en">Server was unable to process
> request. ---> Object
> > reference not set to an instance of an
> > object.> />
> > --
> >
> >
> > Please advise me to over come this issue
> >
> > This is my enpoint configuration
> >
> > String cxfAddressLine = "cxf:
> >
> http://123.231.66.11/gslwsairavailabilitydisplay/Service1.asmx?wsdlURL=galieo.wsdl";
>
> > //
> > + "&dataFormat=PAYLOAD" //
> > + "&serviceName={http://tempuri.org/}Service1"; //
> > + "&synchronous=true" //
> > + "&loggingFeatureEnabled=true" //
> > + "&portName={http://tempuri.org/}Service1Soap12";
> >
> >
> >
> > Request file:
> >
> >
> > T6C
> >
> > G1038416
> >
> > ZT6C/MWS
> >
> > 20141005
> >
> > CMB
> >
> > LON
> >
> > A
> >
> > Y
> >
> > I
> >
> > UL
> >
> > A
> >
> >
> >
> >
> > On Thu, Dec 11, 2014 at 3:36 PM, Dharashan Sithamparam > > wrote:
> > >
> > > thanks lot i will check and let you know
> > >
> > >
> > > On Wed, Dec 10, 2014 at 8:42 AM, Willem.Jiang [via Camel] <
> > > [hidden email] <http:///user/SendEmail.jtp?type=node&node=5760706&i=1>>
> wrote:
> > >
> > >> You just defined a wrong service name, it could be “s:Service1Soap”,
> or
> > >> “s:Service1Soap12”.
> > >>
> > >> --
> > >> Willem Jiang
> > >>
> > >> Red Hat, Inc.
> > >> Web: http://www.redhat.com
> > >> Blog: http://willemjiang.blogspot.com (English)
> > >> http://jnn.iteye.com (Chinese)
> > >> Twitter: willemjiang
> > >> Weibo: 姜宁willem
> > >>
> > >>
> > >>
> > >> On December 9, 2014 at 11:15:28 PM, dharshan ([hidden email]
> > >> ) wrote:
> > >>
> > >> > Hi
> > >> >
> > >> > When i sent the request i have getting below error .
> > >> > Caused by: org.apache.camel.FailedToCreateProducerException: Failed
> to
> > >> > create Producer for endpoint: Endpoint[cxf://bean:galileo]. Reason

Re: cfx web service client error

2014-12-15 Thread dharshan
Hi Willem


now am getting  below error

Response-Code: 500
Encoding: UTF-8
Content-Type: application/soap+xml; charset=utf-8
Headers: {Cache-Control=[private], connection=[keep-alive],
Content-Length=[508], content-type=[application/soap+xml; charset=utf-8],
Date=[Mon, 15 Dec 2014 12:14:53 GMT], Server=[Microsoft-IIS/7.5], Via=[1.0
proxy (squid/3.1.8)], X-AspNet-Version=[4.0.30319], X-Cache=[MISS from
proxy], X-Cache-Lookup=[MISS from proxy:3128], X-Powered-By=[ASP.NET]}
Payload: http://www.w3.org/2003/05/soap-envelope"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema";>soap:ReceiverServer was unable to process request. ---> Object
reference not set to an instance of an
object.
--


Please advise me to over come this  issue

This is my enpoint configuration

 String cxfAddressLine = "cxf:
http://123.231.66.11/gslwsairavailabilitydisplay/Service1.asmx?wsdlURL=galieo.wsdl";
//
+ "&dataFormat=PAYLOAD" //
+ "&serviceName={http://tempuri.org/}Service1"; //
+ "&synchronous=true" //
+ "&loggingFeatureEnabled=true" //
+ "&portName={http://tempuri.org/}Service1Soap12";



Request file:
  
 
 T6C
 
 G1038416
 
 ZT6C/MWS
 
 20141005
 
 CMB
 
 LON
 
 A
 
 Y
 
 I
 
 UL
 
 A
  



On Thu, Dec 11, 2014 at 3:36 PM, Dharashan Sithamparam  wrote:
>
> thanks lot i will check and let you know
>
>
> On Wed, Dec 10, 2014 at 8:42 AM, Willem.Jiang [via Camel] <
> ml-node+s465427n5760433...@n5.nabble.com> wrote:
>
>> You just defined a wrong service name, it could be “s:Service1Soap”, or
>> “s:Service1Soap12”.
>>
>> --
>> Willem Jiang
>>
>> Red Hat, Inc.
>> Web: http://www.redhat.com
>> Blog: http://willemjiang.blogspot.com (English)
>> http://jnn.iteye.com (Chinese)
>> Twitter: willemjiang
>> Weibo: 姜宁willem
>>
>>
>>
>> On December 9, 2014 at 11:15:28 PM, dharshan ([hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=5760433&i=0>) wrote:
>>
>> > Hi
>> >
>> > When i sent the request i have getting below error .
>> > Caused by: org.apache.camel.FailedToCreateProducerException: Failed to
>> > create Producer for endpoint: Endpoint[cxf://bean:galileo]. Reason:
>> > org.apache.cxf.service.factory.ServiceConstructionException: Could not
>> find
>> > definition for service {http://tempuri.org/}AirAvailabilityDisplay.
>> >
>> > Please advis me on this
>> > I have attached my config file ,wsdl file and request file with this
>> thread
>> > .
>> >
>> > config file : camel-context.xml
>> >
>> > wsdl: galieo.wsdl
>> >
>> > Request: request.xml
>> >
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> http://camel.465427.n5.nabble.com/cfx-web-service-client-error-tp5760403.html
>>
>> > Sent from the Camel - Users mailing list archive at Nabble.com.
>> >
>>
>>
>>
>> --
>>  If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://camel.465427.n5.nabble.com/cfx-web-service-client-error-tp5760403p5760433.html
>>  To unsubscribe from cfx web service client error, click here
>> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5760403&code=Y2RoYXJzaGFuc0BnbWFpbC5jb218NTc2MDQwM3wtODU2NDQ3NTAy>
>> .
>> NAML
>> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
>
> --
> Regards
>
> S.Dharshan
>


-- 
Regards

S.Dharshan




--
View this message in context: 
http://camel.465427.n5.nabble.com/cfx-web-service-client-error-tp5760403p5760702.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: cfx web service client error

2014-12-11 Thread dharshan
thanks lot i will check and let you know


On Wed, Dec 10, 2014 at 8:42 AM, Willem.Jiang [via Camel] <
ml-node+s465427n5760433...@n5.nabble.com> wrote:

> You just defined a wrong service name, it could be “s:Service1Soap”, or
> “s:Service1Soap12”.
>
> --
> Willem Jiang
>
> Red Hat, Inc.
> Web: http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (English)
> http://jnn.iteye.com (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>
>
>
> On December 9, 2014 at 11:15:28 PM, dharshan ([hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5760433&i=0>) wrote:
>
> > Hi
> >
> > When i sent the request i have getting below error .
> > Caused by: org.apache.camel.FailedToCreateProducerException: Failed to
> > create Producer for endpoint: Endpoint[cxf://bean:galileo]. Reason:
> > org.apache.cxf.service.factory.ServiceConstructionException: Could not
> find
> > definition for service {http://tempuri.org/}AirAvailabilityDisplay.
> >
> > Please advis me on this
> > I have attached my config file ,wsdl file and request file with this
> thread
> > .
> >
> > config file : camel-context.xml
> >
> > wsdl: galieo.wsdl
> >
> > Request: request.xml
> >
> >
> >
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/cfx-web-service-client-error-tp5760403.html
>
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://camel.465427.n5.nabble.com/cfx-web-service-client-error-tp5760403p5760433.html
>  To unsubscribe from cfx web service client error, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5760403&code=Y2RoYXJzaGFuc0BnbWFpbC5jb218NTc2MDQwM3wtODU2NDQ3NTAy>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Regards

S.Dharshan




--
View this message in context: 
http://camel.465427.n5.nabble.com/cfx-web-service-client-error-tp5760403p5760548.html
Sent from the Camel - Users mailing list archive at Nabble.com.

cfx web service client error

2014-12-09 Thread dharshan
Hi

When i sent the request i have getting below error .
Caused by: org.apache.camel.FailedToCreateProducerException: Failed to
create Producer for endpoint: Endpoint[cxf://bean:galileo]. Reason:
org.apache.cxf.service.factory.ServiceConstructionException: Could not find
definition for service {http://tempuri.org/}AirAvailabilityDisplay.

Please advis me on this 
 I have attached my config file ,wsdl file and request file with this thread
.

config file :  camel-context.xml
  
wsdl:  galieo.wsdl
   
Request:  request.xml
  



--
View this message in context: 
http://camel.465427.n5.nabble.com/cfx-web-service-client-error-tp5760403.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Camel webservice sample Error

2014-11-18 Thread dharshan
I will check and let you know as soon as posible.

On Tue, Nov 18, 2014 at 6:18 PM, Willem.Jiang [via Camel] <
ml-node+s465427n575925...@n5.nabble.com> wrote:

> Which version of camel were you using?
> Did you try the latest release one  — Camel 2.14.0?
>
> --
> Willem Jiang
>
> Red Hat, Inc.
> Web: http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (English)
> http://jnn.iteye.com (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>
>
>
> On November 18, 2014 at 7:45:11 PM, dharshan ([hidden email]
> <http://user/SendEmail.jtp?type=node&node=5759256&i=0>) wrote:
>
> > Hi
> >
> > I am trying to execute sample camel-example-spring-ws but is giving
> error as
> > below
> > org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> Line
> > 36 in XML document from ServletContext resource
> > [/WEB-INF/spring-ws-servlet.xml
> > 2: Attribute 'local' is not allowed to appear in element 'ref'.
> > at
> >
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
>
> > at
> >
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
>
> > at
> >
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
>
> > at
> >
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
>
> > at
> >
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
>
> > at
> >
> org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:187)
>
> > at
> >
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
>
> > at
> >
> org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
>
> > at
> >
> org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
>
> > at
> >
> org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
>
> > at
> >
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452)
>
> > at
> >
> org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:658)
>
> > at
> >
> org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:624)
>
> > at
> >
> org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:672)
>
> > at
> >
> org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:543)
>
> > at
> >
> org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:484)
>
> > at
> >
> org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
>
> > at javax.servlet.GenericServlet.init(GenericServlet.java:244)
> > at
> >
> org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)
>
> > at
> > org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:344)
>
> > at
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>
> > at
> >
> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:791)
>
> > at
> >
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
>
> > at
> >
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
>
> > at
> >
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
>
> > at
> > org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
> > at
> >
> org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:298)
>
> > at
> >
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
>
> > at
> >
> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
>
> > at
> >
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHan

Re: Camel webservice sample Error

2014-11-18 Thread dharshan
Yes i have added latest version its working finw thanks lot



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-webservice-sample-Error-tp5759250p5759272.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Camel webservice sample Error

2014-11-18 Thread dharshan
Hi

I am trying to execute sample camel-example-spring-ws but is giving error as
below 
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
36 in XML document from ServletContext resource
[/WEB-INF/spring-ws-servlet.xml
2: Attribute 'local' is not allowed to appear in element 'ref'.
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:398)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:335)
at
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:216)
at
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:187)
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
at
org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
at
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
at
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:452)
at
org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:658)
at
org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:624)
at
org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:672)
at
org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:543)
at
org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:484)
at
org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
at javax.servlet.GenericServlet.init(GenericServlet.java:244)
at
org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)
at
org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:344)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:791)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)
at
org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:298)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
at org.eclipse.jetty.server.Server.doStart(Server.java:282)
at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)
at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)
at
org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)
at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder

Re: Problem encrypting data using PGP data format

2014-10-01 Thread dharshan
Hi 

I want to do Digital Signature using camel components .Please help me to
that using java DSL.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Problem-encrypting-data-using-PGP-data-format-tp5729203p5757278.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: Camel and IBM MQ Series

2014-09-16 Thread dharshan
Thanks lot its help me lot



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-and-IBM-MQ-Series-tp476223p5756568.html
Sent from the Camel - Users mailing list archive at Nabble.com.


How Do I Stop The Camel ?

2014-09-11 Thread dharshan
I have run below code and run it 

  Main main = new Main();
main.enableHangupSupport();
FileCopyRouterBuilder fileCopy=new FileCopyRouterBuilder();
fileCopy.initFileProcess("D:\\InBox","D:\\OutBox");
main.addRouteBuilder(fileCopy);
main.run(a);
  
Now I need to stop the Camel ? How Do I do it this ?



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-Do-I-Stop-The-Camel-tp5756386.html
Sent from the Camel - Users mailing list archive at Nabble.com.


Re: requestBody()

2014-03-19 Thread dharshan
Sorry for delay reply . I have stuck with some other things . Thank you
very much for your repose. Its working fine now


On Wed, Mar 12, 2014 at 11:55 AM, Claus Ibsen-2 [via Camel] <
ml-node+s465427n574866...@n5.nabble.com> wrote:

> Hi
>
> Yeah read about using beans with Camel
> http://camel.apache.org/bean-integration.html
> http://camel.apache.org/bean-binding.html
>
> And then use the bean component in the endpoint uri
> http://camel.apache.org/bean
>
> For example something alike
> requestBody("bean:foo?method=bar(123, ${body}, true)", "Hello World");
>
>
>
> On Wed, Mar 12, 2014 at 5:44 AM, dharshan <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5748669&i=0>>
> wrote:
>
> > Using *requestBody()* method can invoke the methods in Java class
> passing
> > some parameters .
> >
> >  If yes please give the example .
> >
> >
> >
> > --
> > View this message in context:
> http://camel.465427.n5.nabble.com/requestBody-tp5748665.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
>
>
>
> --
> Claus Ibsen
> -
> Red Hat, Inc.
> Email: [hidden email]<http://user/SendEmail.jtp?type=node&node=5748669&i=1>
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
> Make your Camel applications look hawt, try: http://hawt.io
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/requestBody-tp5748665p5748669.html
>  To unsubscribe from requestBody(), click 
> here<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5748665&code=Y2RoYXJzaGFuc0BnbWFpbC5jb218NTc0ODY2NXwtODU2NDQ3NTAy>
> .
> NAML<http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Regards

S.Dharshan




--
View this message in context: 
http://camel.465427.n5.nabble.com/requestBody-tp5748665p5749079.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: requestBody()

2014-03-19 Thread dharshan

Sorry for delay reply . I have stuck with some other things . Thank you very
much for your repose. Its working fine now. 

I like to learn about Camel product and has to do some development.please
suggest some good materials

to learn this  





--
View this message in context: 
http://camel.465427.n5.nabble.com/requestBody-tp5748665p5749080.html
Sent from the Camel - Users mailing list archive at Nabble.com.


requestBody()

2014-03-11 Thread dharshan
Using *requestBody()* method can invoke the methods in Java class passing
some parameters .

 If yes please give the example .



--
View this message in context: 
http://camel.465427.n5.nabble.com/requestBody-tp5748665.html
Sent from the Camel - Users mailing list archive at Nabble.com.