public class SimpleMessagingContext extends java.lang.Object implements MessagingContext
| Constructor and Description |
|---|
SimpleMessagingContext() |
| Modifier and Type | Method and Description |
|---|---|
java.util.function.BiConsumer<java.lang.Throwable,Message> |
getAcknowledgeErrorFunction() |
<any> |
getAcknowledgeFilter() |
<any> |
getAcknowledgeFunction() |
java.util.concurrent.BlockingQueue<<any>> |
getBufferQueue() |
int |
getBufferSize() |
java.lang.String |
getContentEncoding()
Returns the content encoding
|
java.lang.String |
getContentType()
Returns the content type
|
java.lang.String |
getCorrelationId()
Returns the correlation id
|
java.util.concurrent.ExecutorService |
getExecutor() |
<any> |
getNAcknowledgeFunction() |
int |
getParallelism() |
<any> |
getPushbackPolicy() |
<any> |
getPushbackPolicyByName() |
PushbackPolicyOption |
getPushbackPolicyOption() |
java.lang.Long |
getPushbackPolicyOptionTime() |
java.lang.String |
getQueueName()
Returns the queue name
|
<any> |
getQueuePolicy() |
<any> |
getQueuePolicyByName() |
QueuePolicyOption |
getQueuePolicyOption() |
java.lang.String |
getReplyAddress()
Returns the reply address
|
java.lang.String |
getRoutingKey()
Returns the routing key
|
java.util.concurrent.ScheduledExecutorService |
getScheduler() |
void |
setContentEncoding(java.lang.String contentEncoding)
Sets the contentEncoding.
|
void |
setContentType(java.lang.String contentType)
Sets the contentType.
|
void |
setCorrelationId(java.lang.String correlationId)
Sets the correlationId.
|
void |
setQueueName(java.lang.String queueName)
Sets the queueName.
|
void |
setReplyAddress(java.lang.String replyTo)
Sets the replyTo.
|
void |
setRoutingKey(java.lang.String routingKey)
Sets the routingKey.
|
public int getBufferSize()
public int getParallelism()
public java.util.concurrent.ExecutorService getExecutor()
public java.util.concurrent.ScheduledExecutorService getScheduler()
public java.util.concurrent.BlockingQueue<<any>> getBufferQueue()
public <any> getQueuePolicy()
public QueuePolicyOption getQueuePolicyOption()
public <any> getPushbackPolicy()
public PushbackPolicyOption getPushbackPolicyOption()
public java.lang.Long getPushbackPolicyOptionTime()
public java.lang.String getContentType()
MessagingContextgetContentType in interface MessagingContextpublic void setContentType(java.lang.String contentType)
contentType - the contentType to setpublic java.lang.String getReplyAddress()
MessagingContextgetReplyAddress in interface MessagingContextpublic void setReplyAddress(java.lang.String replyTo)
replyTo - the replyTo to setpublic java.lang.String getCorrelationId()
MessagingContextgetCorrelationId in interface MessagingContextpublic void setCorrelationId(java.lang.String correlationId)
correlationId - the correlationId to setpublic java.lang.String getQueueName()
MessagingContextgetQueueName in interface MessagingContextpublic void setQueueName(java.lang.String queueName)
queueName - the queueName to setpublic java.lang.String getRoutingKey()
MessagingContextgetRoutingKey in interface MessagingContextpublic void setRoutingKey(java.lang.String routingKey)
routingKey - the routingKey to setpublic java.lang.String getContentEncoding()
MessagingContextgetContentEncoding in interface MessagingContextpublic void setContentEncoding(java.lang.String contentEncoding)
contentEncoding - the contentEncoding to setpublic java.util.function.BiConsumer<java.lang.Throwable,Message> getAcknowledgeErrorFunction()
public <any> getAcknowledgeFilter()
public <any> getAcknowledgeFunction()
public <any> getNAcknowledgeFunction()
public <any> getPushbackPolicyByName()
public <any> getQueuePolicyByName()
Data In Motion Consulting (c) 2017