uCosminexus Application Server, Application Setup Guide
You set the application runtime properties for the individual Message-driven Beans that form an application.
Message-driven Bean attribute file
Execute the following command to acquire a Message-driven Bean attribute file:
cjgetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type ejb -resname EJB-JAR-display-name/Message-driven-Bean-display-name -c path-of-the-Message-driven-Bean-attribute-file |
cjgetappprop MyServer -name message -type ejb -resname message/MyMessageBean -c C: \home\MyMessageBean.xml
Execute the following command to apply the values of the Message-driven Bean attribute file:
cjsetappprop [server-name] [-nameserver provider-URL] -name J2EE application-name -type ejb -resname EJB-JAR-display-name/Message-driven-Bean-display-name -c path-of-the-Message-driven-Bean-attribute-file |
cjsetappprop MyServer -name message -type ejb -resname message/MyMessageBean -c C: \home\MyMessageBean.xml
The following table describes the property settings for the runtime attributes of Message-driven Bean (<runtime>):
| Item | Mandatory | Corresponding tag |
|---|---|---|
| Maximum number of instances in the pool# | Y | <pooled-instance> - <maximum> |
For details on the property settings, see 3.6.1 Contents of the MessageDrivenBean property file in the uCosminexus Application Server Application and Resource Definition Reference Guide.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.