Details

  • Configuration:
    Hide

    <mule-descriptor name="EchoUMO3"
    inboundEndpoint="vm://EchoUMO3"
    outboundEndpoint="stream://localhost"
    implementation="org.mule.components.simple.EchoComponent">
    </mule-descriptor>

    Show
    <mule-descriptor name="EchoUMO3" inboundEndpoint="vm://EchoUMO3" outboundEndpoint="stream://localhost" implementation="org.mule.components.simple.EchoComponent"> </mule-descriptor>
  • Log Output:
    Hide
    stopping comp
    Start2: org.mule.impl.MuleEventContext@14835fb
    Jun 9, 2005 5:22:15 PM org.mule.components.simple.LogComponent log
    INFO:
    ********************************************************************************
    * Message Received in component: EchoUMO3. Content is: Koko
                       *
    ********************************************************************************
    Koko
    starting comp
    Start2: org.mule.impl.MuleEventContext@1c50507
    Jun 9, 2005 5:22:17 PM org.mule.components.simple.LogComponent log
    INFO:
    ********************************************************************************
    * Message Received in component: EchoUMO3. Content is: Koko
                       *
    ********************************************************************************
    Koko
    Show
    stopping comp Start2: org.mule.impl.MuleEventContext@14835fb Jun 9, 2005 5:22:15 PM org.mule.components.simple.LogComponent log INFO: ******************************************************************************** * Message Received in component: EchoUMO3. Content is: Koko                    * ******************************************************************************** Koko starting comp Start2: org.mule.impl.MuleEventContext@1c50507 Jun 9, 2005 5:22:17 PM org.mule.components.simple.LogComponent log INFO: ******************************************************************************** * Message Received in component: EchoUMO3. Content is: Koko                    * ******************************************************************************** Koko
  • Similar Issues:
    None

Description

Hi all,
In my application I was required to provide dynamic register and
unregister components for handling incoming events. I tried to use
ServiceComponent.start/stop(), also I tried to stop component via JMX,
but it had no effect.

The code that I used here:

MuleClient client = new MuleClient();
ComponentService serv = new ComponentService("EchoUMO3");
serv.stop();
client.send("vm://EchoUMO3", "Koko\n", null));

In this case the message still arrives to component "EchoUMO3" and is handled by it.

I also tried to use dispatch() instead of send(), doesn't help

Activity

Hide
Andrew Perepelytsya added a comment -

All old Resolved issues transitioned into a Closed state.

Show
Andrew Perepelytsya added a comment - All old Resolved issues transitioned into a Closed state.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: