public class JMSTriggerGroupFacade
extends java.lang.Object
Constructor and Description |
---|
JMSTriggerGroupFacade() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createTrigger(java.lang.String sourceTriggerName,
java.lang.String targetAliasName,
java.lang.String targetTriggerGroupId,
java.lang.String targetPackageName)
Creates a new JMS trigger by copying an existing JMS trigger and specifying a different JMS connection alias.
|
static IData[] |
createTriggers(java.lang.String targetAliasName,
java.lang.String targetTriggerGroupId,
java.lang.String targetPackageName)
Creates a new trigger by copying every JMS trigger in a loaded package in Integration Server and specifying a different JMS connection alias.
|
static IData[] |
createTriggersForAlias(java.lang.String sourceAliasName,
java.lang.String targetAliasName,
java.lang.String targetTriggerGroupId,
java.lang.String targetPackageName)
Creates a copy of every JMS trigger that uses a specific JMS connection alias in Integration Server.
|
static IData[] |
deleteTriggersForGroupId(java.lang.String triggerGroupId)
Deletes all the JMS triggers in a JMS trigger group whose name contains the specified trigger group Id.
|
static java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> |
getTriggerGroups()
Retrieves data about all trigger groups on the Integration Server.
|
static IData[] |
getTriggerGroupsAsData()
Retrieves trigger group data, in the form of IData, for all the trigger groups in loaded packages on Integration Server.
|
static java.lang.String[] |
getTriggersInGroup(java.lang.String groupId)
Retrieves a list of all the JMS triggers whose names contain a specific JMS trigger group Id.
|
public static java.util.Map<java.lang.String,java.util.ArrayList<java.lang.String>> getTriggerGroups() throws JMSSubsystemException
JMSSubsystemException
- if an error occurspublic static IData[] getTriggerGroupsAsData() throws JMSSubsystemException
JMSSubsystemException
- if an internal error occurs.public static java.lang.String createTrigger(java.lang.String sourceTriggerName, java.lang.String targetAliasName, java.lang.String targetTriggerGroupId, java.lang.String targetPackageName) throws JMSSubsystemException
sourceTriggerName
- the name of the JMS trigger you are copying.targetAliasName
- the JMS connection alias to assign to the new trigger.targetTriggerGroupId
- the Id appended to the end of the new triggertargetPackageName
- the package in which to create the new triggerJMSSubsystemException
- thrown if an error occurs.public static IData[] createTriggers(java.lang.String targetAliasName, java.lang.String targetTriggerGroupId, java.lang.String targetPackageName) throws JMSSubsystemException
targetAliasName
- the JMS connection alias to assign to the new triggers.targetTriggerGroupId
- the Id to append to the end of the new trigger namestargetPackageName
- the package in which to create the new triggersJMSSubsystemException
- thrown if an error occurspublic static IData[] createTriggersForAlias(java.lang.String sourceAliasName, java.lang.String targetAliasName, java.lang.String targetTriggerGroupId, java.lang.String targetPackageName) throws JMSSubsystemException
sourceAliasName
- the name of the JMS connection alias used by the JMS triggers for which you want to create copiestargetAliasName
- the JMS connection alias to assign to the new triggers.targetTriggerGroupId
- the Id to append to the end of the new trigger namestargetPackageName
- the package in which to create the new triggersJMSSubsystemException
- thrown if an error occurspublic static IData[] deleteTriggersForGroupId(java.lang.String triggerGroupId) throws JMSSubsystemException
triggerGroupId
- the name of the JMS trigger group Id contained in the names of the JMS triggers that you want to deleteJMSSubsystemException
- thrown if an internal error occurspublic static java.lang.String[] getTriggersInGroup(java.lang.String groupId) throws JMSSubsystemException
JMSSubsystemException
- thrown if an error occurs