Viewing and editing JMS bindings on references and services of SCA composites

You can view information on a Java Message Service (JMS) binding for a Service Component Architecture (SCA) composite in the administrative console. The JMS bindings page of the console displays the settings of a binding.jms element. You can use the console page to edit resource and response resource settings.

Before you begin

Configure an SCA composite that uses JMS bindings and add that composite as a composition unit to a business-level application. To view and edit settings for a JMS binding on references, the composite must define a JMS binding in the reference. Similarly, to view and edit settings for a JMS binding on services, the composite must define a JMS binding in the service.

About this task

The JMS bindings page enables you to see JMS binding settings for an SCA composite in the administrative console. The information shown is similar to that shown by running the viewCompUnit wsadmin scripting command to view the SCA composite composition unit. However, the console page shows JMS binding settings only, and does not show other information on the composition unit that running viewCompUnit returns.

After deployment of an SCA composite that uses JMS bindings, you can edit JMS binding resource or response resource settings that specify Java Naming and Directory Interface (JNDI) names on the JMS bindings page. The editing capabilities are similar to those of the editCompUnit scripting command. To edit settings, the JMS resource must exist. The product does not dynamically create JMS resources when you edit a composition unit.

Procedure

  1. Go to the JMS bindings page.

    To view this page, your composition unit must support a JMS binding reference or service.

    1. Click Applications > Application Types > Business-level applications > application_name > deployed_asset_composition_unit_name .
    2. From the composition unit settings page for SCA composites, select to view references or services:
      • For an SCA component reference, click SCA Composite Components > SCA_component_reference_name > SCA Component References > reference_name > Bindings > JMS binding .
      • For an SCA component service, click SCA Composite Components > SCA_component_service_name > SCA Component Services > service_name > Bindings > JMS binding .
  2. View the JMS binding settings for the composition unit.
  3. Edit the Destination JNDI name, Activation specification JNDI name, Connection factory JNDI name, Response destination JNDI name, or Response connection factory JNDI name settings as needed and click Apply.

Results

The JMS bindings page displays property settings for a JMS binding. If you change resource or response resource JNDI name values, the changed values are shown.

Example

Suppose that you have a business-level application named MyJmsBLA, which has an SCA composite named MySCAComposite. This composite uses a JMS binding on service named JmsService, in a composition unit named myJmsBindingCU.

  1. Click Applications > Application Types > Business-level applications > MyJmsBLA > myJmsBindingCU > SCA Composite Components > MySCAComposite > SCA Component Services > JmsService > Bindings > JMS binding .

    The JMS bindings page displays general binding settings and settings for a JMS binding on services.

  2. Edit the value specified for Activation specification JNDI name, and click Apply.

    The JMS bindings page displays the changed value.

What to do next

Browse the page to ensure that it contains the binding information.

For information on JMS binding settings, refer to the online help for the JMS bindings page or Section 1.4 of the SCA JMS Binding specification, Version 1.00.




In this information ...


Related information

IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 4:16:02 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-base-dist&topic=tsca_view_jmsbindings_console
File name: tsca_view_jmsbindings_console.html