public final class MappingRuleActions
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
MappingRuleActions.PlaceToQueueAction |
PlaceToQueueAction represents a placement action, contains the pattern of
the queue name or path in which the path variables will be substituted
with the variable context's respective values.
|
static class |
MappingRuleActions.RejectAction |
RejectAction represents the action when the application is rejected, this
simply will throw an error on the user's side letting it know the
submission was rejected.
|
static class |
MappingRuleActions.VariableUpdateAction |
VariableUpdateAction represents the action which alters one of the
mutable variables in the variable context, but doesn't do anything with
the application.
|
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
DEFAULT_QUEUE_VARIABLE |
| Modifier and Type | Method | Description |
|---|---|---|
static MappingRuleAction |
createPlaceToDefaultAction() |
Convenience method to create an action which places the application to the
DEFAULT queue.
|
static MappingRuleAction |
createPlaceToQueueAction(java.lang.String queue,
boolean allowCreate) |
Convenience method to create an action which places the application to a
queue.
|
static MappingRuleAction |
createRejectAction() |
Convenience method to create an action rejects the application.
|
static MappingRuleAction |
createUpdateDefaultAction(java.lang.String queue) |
Convenience method to create an action which changes the default queue.
|
public static final java.lang.String DEFAULT_QUEUE_VARIABLE
public static MappingRuleAction createUpdateDefaultAction(java.lang.String queue)
queue - The new value of the default queuepublic static MappingRuleAction createPlaceToQueueAction(java.lang.String queue, boolean allowCreate)
queue - The name of the queue the application should be placed toallowCreate - Determines if the target queue should be created if it
does not existpublic static MappingRuleAction createPlaceToDefaultAction()
public static MappingRuleAction createRejectAction()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.