Class RabbitSupplierProperties
java.lang.Object
org.springframework.cloud.fn.supplier.rabbit.RabbitSupplierProperties
@ConfigurationProperties("rabbit.supplier")
@Validated
public class RabbitSupplierProperties
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
@NotNull String[]
int
int
@NotNull(message="queue(s) are required") @Size(min=1,message="At least one queue is required") String[]
boolean
double
boolean
boolean
boolean
void
setEnableRetry
(boolean enableRetry) void
setInitialRetryInterval
(int initialRetryInterval) void
setMappedRequestHeaders
(String[] mappedRequestHeaders) void
setMaxAttempts
(int maxAttempts) void
setMaxRetryInterval
(int maxRetryInterval) void
setOwnConnection
(boolean ownConnection) void
void
setRequeue
(boolean requeue) void
setRetryMultiplier
(double retryMultiplier) void
setTransacted
(boolean transacted)
-
Constructor Details
-
RabbitSupplierProperties
public RabbitSupplierProperties()
-
-
Method Details
-
getRequeue
public boolean getRequeue() -
setRequeue
public void setRequeue(boolean requeue) -
getTransacted
public boolean getTransacted() -
setTransacted
public void setTransacted(boolean transacted) -
getQueues
@NotNull(message="queue(s) are required") @Size(min=1, message="At least one queue is required") public @NotNull(message="queue(s) are required") @Size(min=1,message="At least one queue is required") String[] getQueues() -
setQueues
-
getMappedRequestHeaders
-
setMappedRequestHeaders
-
getInitialRetryInterval
public int getInitialRetryInterval() -
setInitialRetryInterval
public void setInitialRetryInterval(int initialRetryInterval) -
getMaxRetryInterval
public int getMaxRetryInterval() -
setMaxRetryInterval
public void setMaxRetryInterval(int maxRetryInterval) -
getRetryMultiplier
public double getRetryMultiplier() -
setRetryMultiplier
public void setRetryMultiplier(double retryMultiplier) -
getMaxAttempts
public int getMaxAttempts() -
setMaxAttempts
public void setMaxAttempts(int maxAttempts) -
isEnableRetry
public boolean isEnableRetry() -
setEnableRetry
public void setEnableRetry(boolean enableRetry) -
isOwnConnection
public boolean isOwnConnection() -
setOwnConnection
public void setOwnConnection(boolean ownConnection)
-