|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeliveryParamsOverridesBean
Many delivery parameters can be set by the JMS client. These overrides, if set, will cause those specific parameters to be ignored and replaced by the value set here.
Method Summary | |
---|---|
abstract String |
getDeliveryMode() The delivery mode assigned to all messages that arrive at the destination regardless of the DeliveryMode specified by the message producer. |
abstract int |
getPriority() The priority assigned to all messages that arrive at this destination, regardless of the Priority specified by the message producer. |
abstract long |
getRedeliveryDelay() The delay, in milliseconds, before rolled back or recovered messages are redelivered, regardless of the RedeliveryDelay specified by the consumer and/or connection factory. |
abstract TemplateBean |
getTemplateBean() This is used to find the template bean for this destination |
abstract String |
getTimeToDeliver() The default delay, either in milliseconds or as a schedule, between when a message is produced and when it is made visible on its target destination, regardless of the delivery time specified by the producer and/or connection factory. |
abstract long |
getTimeToLive() The time-to-live assigned to all messages that arrive at this destination, regardless of the TimeToLive value specified by the message producer. |
abstract void |
setDeliveryMode(String deliveryMode) Sets the value of the DeliveryMode attribute. |
abstract void |
setPriority(int priority) Sets the value of the Priority override attribute. |
abstract void |
setRedeliveryDelay(long redeliveryDelay) Sets the value of the RedeliveryDelay override attribute. |
abstract void |
setTimeToDeliver(String timeToDeliver) Sets the value of the TimeToDeliver override attribute. |
abstract void |
setTimeToLive(long timeToLive) Sets the value of the TimeToLive override attribute. |
Method Detail |
---|
String getDeliveryMode()
The delivery mode assigned to all messages that arrive at the destination regardless of the DeliveryMode specified by the message producer.
A value of No-Delivery
specifies that the DeliveryMode will not be overridden.
Note: This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.
void setDeliveryMode(String deliveryMode) throws IllegalArgumentException
Sets the value of the DeliveryMode attribute.
deliveryMode
- The delivery mode override that should be used with this destinationIllegalArgumentException
DeliveryParamsOverridesBean.getDeliveryMode()
String getTimeToDeliver()
The default delay, either in milliseconds or as a schedule, between when a message is produced and when it is made visible on its target destination, regardless of the delivery time specified by the producer and/or connection factory. The default value (-1
) specifies that the destination will not override the TimeToDeliver setting specified by the producer and/or connection factory. The TimeToDeliver override can be specified either as a long or as a schedule.
Note: Changing the TimeToDeliver override only affects future message delivery, it does not affect message delivery of already produced messages.
Schedule
void setTimeToDeliver(String timeToDeliver) throws IllegalArgumentException
Sets the value of the TimeToDeliver override attribute.
timeToDeliver
- The time to deliver override that should be used with this destination or -1 if there should be no time to deliver overrideIllegalArgumentException
DeliveryParamsOverridesBean.getTimeToDeliver()
, Schedule
long getTimeToLive()
The time-to-live assigned to all messages that arrive at this destination, regardless of the TimeToLive value specified by the message producer. The default value (-1
) specifies that this setting will not override the TimeToLive setting specified by the message producer.
Range of Values: Between 0 and a positive 64-bit integer.
Note: This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.
void setTimeToLive(long timeToLive) throws IllegalArgumentException
Sets the value of the TimeToLive override attribute.
timeToLive
- The time to live override for this destination or -1 if there should be no time to live overrideIllegalArgumentException
DeliveryParamsOverridesBean.getTimeToLive()
int getPriority()
The priority assigned to all messages that arrive at this destination, regardless of the Priority specified by the message producer. The default value (-1) specifies that the destination will not override the Priority set by the message producer.
Note: This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.
void setPriority(int priority) throws IllegalArgumentException
Sets the value of the Priority override attribute.
priority
- The priority override for this destination or -1 if there is no priority override for this destinationIllegalArgumentException
DeliveryParamsOverridesBean.getPriority()
long getRedeliveryDelay()
The delay, in milliseconds, before rolled back or recovered messages are redelivered, regardless of the RedeliveryDelay specified by the consumer and/or connection factory. Redelivered queue messages are put back into their originating destination; redelivered topic messages are put back into their originating subscription. The default value (-1) specifies that the destination will not override the RedeliveryDelay setting specified by the consumer and/or connection factory.
Note: This attribute is dynamically configurable, but only incoming messages are impacted; stored messages are not impacted.
Note: Changing the RedeliveryDelay override only affects future rollbacks and recovers, it does not affect rollbacks and recovers that have already occurred.
void setRedeliveryDelay(long redeliveryDelay) throws IllegalArgumentException
Sets the value of the RedeliveryDelay override attribute.
redeliveryDelay
- The redelivery delay override for this destination or -1 if there is no redelivery delay overrideIllegalArgumentException
DeliveryParamsOverridesBean.getRedeliveryDelay()
TemplateBean getTemplateBean()
This is used to find the template bean for this destination
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |