uCosminexus Application Server, Application Setup Guide
You define the message references of Message-driven Beans.
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/MyMessage -c C:\home\MyMessageBean.xml
Execute the following command to apply the values of the Message-driven Bean attribute files:
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/MyMessage -c C:\home\MyMessageBean.xml
The following table describes the message reference settings (<message-ref>):
| Items | Mandatory | Corresponding tags |
|---|---|---|
| Connection Factory name | Y | <connection-factory> |
| Display name of the resource adapter | Y | <connection-destination> - <resource-adapter> |
| Display name of the queue# | Y | <connection-destination> - <queue> |
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.