uCosminexus Application Server, Common Container Functionality Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
Appendix E.9 Checking the message delivery status and the action to be taken for accumulated messages (Procedure for pausing CJMSP Broker)
(1) Process preconditions
- The J2EE server process is running.
- The CJMSP resource adapter is running.
- The CJMSP Broker process is running.
- The application is running.
(2) Information and supplementary explanation required for execution
The coding, such as (A1), corresponds to the coding in the figure.
- (A1)
- Check the destination (or persistence subscriber) name and the number of messages.
- host-name:port-number
- The host name and port number on which CJMSP Broker is running.
- If you omit the port number when CJMSP Broker is started, the default port number 7676 is used. In this case, you can omit the -b option.
- Topic-name
- Topic name containing the persistence subscriber you want to check
- (A2)
- host-name:port-number
- The host name and port number on which CJMSP Broker is running.
- If you omit the port number when CJMSP Broker is started, the default port number 7676 is used. In this case, you can omit the -b option.
- (A3)
- Check whether the status of the jms service is PAUSED.
- host-name:port-number
- The host name and port number on which CJMSP Broker is running.
- If you omit the port number when CJMSP Broker is started, the default port number 7676 is used. In this case, you can omit the -b option.
- An example of output is as follows:
-----------------------------------------------
Service Name Port Number Service State
-----------------------------------------------
admin 1248 (dynamic) RUNNING
jms 0 (dynamic) PAUSED
KDAN34113-I Successfully listed services.
|
- (A4)
- Type
- q (Queue) or t (Topic)
- Name
- Queue name or Topic name
- host-name:port-number
- The host name and port number on which CJMSP Broker is running.
- If you omit the port number when CJMSP Broker is started, the default port number 7676 is used. In this case, you can omit the -b option.
- Initial-timeout-value
- The default initial timeout value is set at 10 seconds. Adjust the value if the processing times out with the default value.
- Persistence-subscriber-name
- Persistence subscriber name checked in (A1)
- Client-ID
- Client ID checked in (A1)
- (A5)
- host-name:port-number
- The host name and port number on which CJMSP Broker is running.
- If you omit the port number when CJMSP Broker is started, the default port number 7676 is used. In this case, you can omit the -b option.
- (A6)
- Check whether the status of the jms service is RUNNING.
- host-name:port-number
- The host name and port number on which CJMSP Broker is running.
- If you omit the port number when CJMSP Broker is started, the default port number 7676 is used. In this case, you can omit the -b option.
- An example of output is as follows:
-----------------------------------------------
Service Name Port Number Service State
-----------------------------------------------
admin 1248 (dynamic) RUNNING
jms 1337 (dynamic) RUNNING
KDAN34113-I Successfully listed services.
|
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.