+

Search Tips   |   Advanced Search

Configure custom properties for IBM MQ messaging provider JMS resources

In addition to the standard properties that we can define for IBM MQ messaging provider JMS resources, we can configure further IBM MQ properties as custom properties. We can configure custom properties for activation specifications, connection factories, and JMS destinations for the IBM MQ messaging provider.

WebSphere Application Server supports the use of custom properties to define IBM MQ properties. This is useful because it enables WAS to work with later versions of IBM MQ that might have properties that are not exposed in WAS.

We can use this task to set custom properties for JMS destinations, connection factories, and activation specifications for the IBM MQ messaging provider. For example, we would use this task to set the custom property WAS_EndpointInitialState for an activation specification. WAS_EndpointInitialState determines whether or not message consumption begins from the JMS destination as soon as the activation specification is used for a message-driven bean to connect with the destination.

To specify custom properties for IBM MQ messaging provider JMS resources, use the administrative console to complete the following steps:


Tasks

  1. In the navigation pane, click...

            Resources > JMS.

  2. Select the type of JMS resource for which we want create custom properties (JMS destinations, connection factories, or activation specifications).

  3. Optional: Change the Scope setting to the level at which the resource definition is visible to applications.

  4. In the contents pane, select the specific IBM MQ messaging provider JMS resource name for which we want to specify the custom property. This displays information about the resource.

  5. To create a custom property, select [Additional Properties] Custom properties.

  6. Click New in the content pane.

  7. Specify the following attributes for the new custom property:

    Name

    The name of the custom property. A property name is required.

    Value

    The value for the custom property.

    Type

    The type of the custom property. Select the custom property type from the list.

  8. Click Apply. This defines the custom property to WAS, and enables us to browse or change additional properties.
  9. Save any changes to the master configuration.

  10. To have the changed configuration take effect, stop then restart the application server.


Example

To set the custom property WAS_EndpointInitialState for an activation specification, specify the following attributes:


Related:

  • IBM MQ custom properties
  • Manage messages with message endpoints
  • Configure an activation specification for the IBM MQ messaging provider
  • Configure a unified connection factory for the IBM MQ messaging provider
  • Configure a queue connection factory for the IBM MQ messaging provider
  • Configure a topic connection factory for the IBM MQ messaging provider
  • Configure custom properties for the IBM MQ resource adapter
  • IBM MQ resource custom properties settings
  • IBM MQ resource custom properties settings
  • IBM MQ messaging provider custom properties