public final class MappingRuleActions extends Object
Modifier and Type | Class and 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 and Description |
---|---|
static String |
DEFAULT_QUEUE_VARIABLE |
Modifier and Type | Method and Description |
---|---|
static MappingRuleAction |
createPlaceToDefaultAction()
Convenience method to create an action which places the application to the
DEFAULT queue.
|
static MappingRuleAction |
createPlaceToQueueAction(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(String queue)
Convenience method to create an action which changes the default queue.
|
public static final String DEFAULT_QUEUE_VARIABLE
public static MappingRuleAction createUpdateDefaultAction(String queue)
queue
- The new value of the default queuepublic static MappingRuleAction createPlaceToQueueAction(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–2024 Apache Software Foundation. All rights reserved.