Configures the settings of the JMS notifier


asadmin [asadmin-options] set-jms-notifier-configuration [--help]
[--target target]
[--contextFactoryClass className]
[--connectionFactoryName connectionFactoryName]
[--queueName queueName]
[--url url]
[--userName userName]
[--password password]


This command can be used to configure the behaviour of the JMS notifier in Payara Server Full Profile.



Options for the asadmin utility. For information about these options, see the asadmin help page.


Displays the help text for the subcommand.


This option helps specify the target on which you are configuring the JMS notifier. Valid values are:


Applies to the default server instance. This is the default value.


Applies to every server instance in the cluster.


Applies to a specified sever instance.


Defaults to false. Enables or disables the notifier


Defaults to false. When set to true, applies the changes without a server restart.

Otherwise, a restart is required.


Defaults to false. Whether the notifier is active even if the notification event threshold is set to FINE.


Defines the naming context factory class used to provision the JMS resources required to send the notification events.

The referenced class name should point to a valid implementation of javax.naming.spi.InitialContextFactory and should be located in the server’s classpath.
In most cases, using the default context factory class (com.sun.enterprise.naming.SerialInitContextFactory) is enough.

Defines the JNDI name of an existing JMS connection factory which will be used to send the notification messages.


Defines the physical name of an existing JMS queue destination used to send the messages to.


Defines the URL of a JMS broker server that will handle the sending and reception of the notification message.


Defines the user that will authentication to the JMS broker server (if required).


Defines the password credential of the user that will authentication to the JMS broker server (if required).


Example 1 Enable the JMS Notifier and Configure it using OpenMQ

This example enables the JMS notifier and sets it up to connect to the default, local OpenMQ broker server and use a queue named testQueue:

asadmin set-jms-notifier-configuration --dynamic=true --enabled=true --contextFactoryClass=com.sun.enterprise.naming.SerialInitContextFactory --connectionFactoryName=jms/__defaultConnectionFactory --queueName=testQueue --url=localhost:7676 --username=testUser --password=******** --target=server-config

Exit Status


subcommand executed successfully


error in executing the subcommand

See Also