public abstract class AbstractAzureListenerEndpoint extends Object implements AzureListenerEndpoint
MethodAzureListenerEndpoint| Constructor and Description |
|---|
AbstractAzureListenerEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract AzureMessageHandler |
createMessageHandler(MessageListenerContainer container)
Create a
AzureMessageHandler that is able to serve this endpoint for the
specified container. |
String |
getConcurrency() |
String |
getDestination() |
protected StringBuilder |
getEndpointDescription()
Return a description for this endpoint.
|
String |
getGroup() |
String |
getId()
Return the id of this endpoint.
|
void |
setConcurrency(String concurrency) |
void |
setDestination(String destination) |
void |
setGroup(String group) |
void |
setId(String id) |
void |
setupListenerContainer(MessageListenerContainer listenerContainer)
Setup the specified message listener container with the model
defined by this endpoint.
|
String |
toString() |
public void setupListenerContainer(MessageListenerContainer listenerContainer)
AzureListenerEndpointThis endpoint must provide the requested missing option(s) of
the specified container to make it usable. Usually, this is about
setting the destination and the messageListener to
use but an implementation may override any default setting that
was already set.
setupListenerContainer in interface AzureListenerEndpointlistenerContainer - the listener container to configureprotected abstract AzureMessageHandler createMessageHandler(MessageListenerContainer container)
AzureMessageHandler that is able to serve this endpoint for the
specified container.protected StringBuilder getEndpointDescription()
Available to subclasses, for inclusion in their toString() result.
public String getDestination()
public void setDestination(String destination)
public String getGroup()
public void setGroup(String group)
public String getId()
AzureListenerEndpointgetId in interface AzureListenerEndpointpublic void setId(String id)
public void setConcurrency(String concurrency)
public String getConcurrency()
Copyright © 2020 Microsoft. All rights reserved.