[Version 5.0.2]Configuring deployment attributes for a sender bean

Use this task to configure the deployment attributes for a sender bean.

Why and when to perform this task

You can specify deployment attributes on each EJB method.

Changes to the deployment attributes override the values defined when the sender bean was developed and deployment code was generated for the application.

Note: After deployment code has been generated for an application, the deployable archive is renamed with the prefix Deployed_ . Any subsequent changes to the archive from within the Application Assembly Tool are applied to the version of the archive that existed prior to code generation. To see changes reflected in your application, you must regenerate deployment code and re-install the deployable archive.

To change the deployment attributes for a sender bean, you can use the Application Assembly Tool to complete the following steps:

Steps for this task

  1. Launch the Application Assembly Tool.
  2. Create or edit the application EAR file.
    For example, to change attributes of an existing application, click File-> Open then select the EAR file.
  3. In the navigation pane, select the sender bean instance; for example, expand ejb_module_instance-> Extended messaging then select the bean instance.
    A property dialog notebook for the sender bean is displayed in the property pane.
  4. In the property pane, specify appropriate deployment attributes:
    Output port
    This is the name of the output port to be used to send messages.
    Handle late responses
    Select this checkbox if the sender bean is to handle late responses. If you select this checkbox, also specify the following properties: ReplyTimeout and Late response handler listener port name.
    ReplyTimeout
    For a sender bean that has been developed to handle late responses, this is the time after which responses are considered late. This property is used if a response timeout is not specified on a sender method call.
    Late response handler listener port name
    For a sender bean that has been developed to handle late responses, this is the name of the listener port to be used for late responses.

    For more information about the deployment attributes for sender beans, see Extended messaging assembly properties for enterprise beans.

  5. To apply the changes and close the Application Assembly Tool, click OK. Otherwise, to apply the values but keep the property dialog open for additional edits, click Apply.
  6. To see changes reflected in your application, regenerate deployment code and reinstall the deployable archive.

Related tasks
Deploying an enterprise application to use extended messaging
Related reference
Extended messaging assembly properties for EJB modules



Searchable topic ID:   tmc_depa2
Last updated: Jun 21, 2007 8:07:48 PM CDT    WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/cmm/tasks/tmc_depa2.html

Library | Support | Terms of Use | Feedback