Topic
  • 6 replies
  • Latest Post - ‏2011-12-27T22:47:57Z by Ed_Hansen
Ed_Hansen
Ed_Hansen
28 Posts

Pinned topic Pause/Resume Activation Spec for SCA JMS Binding

‏2011-12-16T23:55:36Z |
I have found a few references to pausing/resuming endpoints like an MDB, but not much about dealing with just an activation spec. I imagine the trick is figuring out the appropriate query string for the queryNames command. This is an example that I found:

wsadmin>$AdminControl queryNames WebSphere:type=J2CMessageEndpoint,*,ActivationS
pec=MQGet/Export1_MQEXPORT_AS

I've tried variations of this, but get no response back running the command. Am I on the right track? Is the correct format:

MQGet/ActivationSpecName
or just
ActivationSpecName

Or should it be something else?
Updated on 2011-12-27T22:47:57Z at 2011-12-27T22:47:57Z by Ed_Hansen
  • SystemAdmin
    SystemAdmin
    126 Posts

    Re: Pause/Resume Activation Spec for SCA JMS Binding

    ‏2011-12-20T15:34:22Z  
    Hi Ed,

    By providing the MBean at the MessageEndpoint granularity, we allow you to pause message listening for an individual endpoint without having to pause listening for all MDBs mapped to that ActivationSpec. (This functionality also allows you to pause message listening without having to completely stop the app/EAR hosting the MDB.)

    But it sounds like you are trying to stop all MessageEndpoints associated with a given ActivationSpec. Is that basically right?

    That seems reasonable and I could probably find a sample of that (though it's a slow time as many people are on vacation).

    Regards,
    Scott
  • Ed_Hansen
    Ed_Hansen
    28 Posts

    Re: Pause/Resume Activation Spec for SCA JMS Binding

    ‏2011-12-22T17:03:16Z  
    Hi Ed,

    By providing the MBean at the MessageEndpoint granularity, we allow you to pause message listening for an individual endpoint without having to pause listening for all MDBs mapped to that ActivationSpec. (This functionality also allows you to pause message listening without having to completely stop the app/EAR hosting the MDB.)

    But it sounds like you are trying to stop all MessageEndpoints associated with a given ActivationSpec. Is that basically right?

    That seems reasonable and I could probably find a sample of that (though it's a slow time as many people are on vacation).

    Regards,
    Scott
    Hi Scott,

    Actually I'd be happy pausing just the endpoint associated with the JMS binding on the service of my SCA component.

    Thanks,

    Ed
  • Tom.Seelbach
    Tom.Seelbach
    11 Posts

    Re: Pause/Resume Activation Spec for SCA JMS Binding

    ‏2011-12-23T11:59:37Z  
    Hi Ed,
    As a starting point please try

    $AdminControl queryNames :type=J2CMessageEndpoint,

    -Tom
  • Ed_Hansen
    Ed_Hansen
    28 Posts

    Re: Pause/Resume Activation Spec for SCA JMS Binding

    ‏2011-12-27T18:40:50Z  
    Hi Ed,
    As a starting point please try

    $AdminControl queryNames :type=J2CMessageEndpoint,

    -Tom
    Hi Tom,

    When I issue the command, I get no response. That is, I see the following:

    wsadmin>$AdminControl queryNames :type=J2CMessageEndpoint

    wsadmin>

    As a sanity check I ran the following command and got back a ton of output:

    $AdminControl queryNames *
  • SystemAdmin
    SystemAdmin
    126 Posts

    Re: Pause/Resume Activation Spec for SCA JMS Binding

    ‏2011-12-27T21:29:29Z  
    • Ed_Hansen
    • ‏2011-12-27T18:40:50Z
    Hi Tom,

    When I issue the command, I get no response. That is, I see the following:

    wsadmin>$AdminControl queryNames :type=J2CMessageEndpoint

    wsadmin>

    As a sanity check I ran the following command and got back a ton of output:

    $AdminControl queryNames *
    Ed,

    I think Tom meant for you to try this:

    
    $AdminControl queryNames *:type=J2CMessageEndpoint,*
    


    but his post didn't get through the forum formatter correctly.

    Scott
  • Ed_Hansen
    Ed_Hansen
    28 Posts

    Re: Pause/Resume Activation Spec for SCA JMS Binding

    ‏2011-12-27T22:47:57Z  
    Ed,

    I think Tom meant for you to try this:

    <pre class="jive-pre"> $AdminControl queryNames *:type=J2CMessageEndpoint,* </pre>

    but his post didn't get through the forum formatter correctly.

    Scott
    Ah yes - thanks Scott. I see a response now.