Thanks Freeman, Now I am able to deploy my DSL route. But this route needs an input from the user. Through, servicemix console I am not able to give any input as the console takes it as command and hence throws an error (command not found). Is it possible to give an input to the route through the console ?
With regards Bala -----Original Message----- From: Freeman Fang [mailto:[email protected]] Sent: 04 February 2013 11:08 To: [email protected] Subject: Re: ServiceMix deploying a camel route Hi, You don't need have XML DSL, only java DSL should be fine. Do you have any problem with JAVA DSL only? You probably need a bundle activator to start the route, or use way like <camelContext xmlns="http://camel.apache.org/schema/spring"> <package>your.java.dsl.package</package> </camelContext> to let camel know where your java DSL is and launch it. ------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-2-4, at 下午1:21, AMARNATH, Balachandar wrote: > Hi, > > I am new to servicemix. I have a camel route written in JavaDSL using > Routebuilder class, configure method.... I want to deploy this route into > servicemix container. I tried sample examples comes with the servicemix > bundle (camel-osgi and camel-blueprint) and seems they require a XML document > in which route and beans are defined. Is there a way to avoid the usage of > these XMLs and with only using java DSL, deploy the route and interact with > the route ? > > With thanks and regards > Balachandar > > > > > The information in this e-mail is confidential. The contents may not be > disclosed or used by anyone other than the addressee. Access to this e-mail > by anyone else is unauthorised. > If you are not the intended recipient, please notify Airbus immediately and > delete this e-mail. > Airbus cannot accept any responsibility for the accuracy or completeness of > this e-mail as it has been sent over public networks. If you have any > concerns over the content of this message or its Accuracy or Integrity, > please contact Airbus immediately. > All outgoing e-mails from Airbus are checked using regularly updated virus > scanning software but you should take whatever measures you deem to be > appropriate to ensure that this message and any attachments are virus free. > This mail has originated outside your organization, either from an external partner or the Global Internet. Keep this in mind if you answer this message. The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
