On 10/12/2007, CigarMan <[EMAIL PROTECTED]> wrote: > > Is it possible to disable an endoint? > > I have a service listening on tcp port 7777 using the mina component. The > service can be enabled or disabled, meaning that I want to stop listening on > the port. Is there a way to disable the component? Is removing the component > from the camelContext enough or are some cleanup steps required? Thank you.
Normally its the consumer you want to stop. You can look up the MBeans in JMX I guess? Another option is to start the route by itself in its own CamelContext so you can easily enable/disable it. We should make it a little easier to stop & start a route though. -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com
