Appendix E.13 Changing the destination size
(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)
- No specific value.
- (A2)
- Type
- q (Queue) or t (Topic)
- Destination-name
- Queue name or Topic name to be deleted
- 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)
- Type
- q (Queue) or t (Topic)
- Destination-name
- Queue name or Topic name to be re-created
- maximum-number-of-messages
- Maximum number of messages stored in Queue or Topic
- total-number-of-message-bytes
- Total number of message bytes stored in Queue or Topic
- maximum-number-of-producers
- Maximum number of producers for a destination
- maximum-consumer-flow-limit
- Maximum number of messages that one processing unit can deliver to a consumer
- 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 the execution result is as follows:
- Example: Example of creating a Queue where the maximum number of messages is 100000, total number of message bytes is 12 MB, maximum number of producers is 1000, and the maximum consumer flow limit is 1000
C:\>cjmsicmd create dst -t q -n Queue1 -o "maxNumMsgs=100000" -o "maxTotalMsgBytes=12m" -o "maxNumProducers=1000" -o "consumerFlowLimit=1000" -b localhost:7676
KDAN34140-I Successfully created the destination. |
- (A4)
- No specific value.