Class PropertiesAwareSpringTopicSubscription
- java.lang.Object
-
- org.camunda.bpm.client.spring.impl.subscription.SpringTopicSubscriptionImpl
-
- org.camunda.bpm.client.spring.boot.starter.impl.PropertiesAwareSpringTopicSubscription
-
- All Implemented Interfaces:
SpringTopicSubscription
,TopicSubscription
,org.springframework.beans.factory.InitializingBean
public class PropertiesAwareSpringTopicSubscription extends SpringTopicSubscriptionImpl
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientProperties
clientProperties
-
Fields inherited from class org.camunda.bpm.client.spring.impl.subscription.SpringTopicSubscriptionImpl
applicationEventPublisher, client, externalTaskHandler, LOG, subscriptionConfiguration, topicSubscription, topicSubscriptionBuilder
-
-
Constructor Summary
Constructors Constructor Description PropertiesAwareSpringTopicSubscription()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
protected java.util.function.Predicate<org.springframework.context.ApplicationEvent>
isEventThatCanStartSubscription()
protected void
mergeSubscriptionWithProperties()
-
Methods inherited from class org.camunda.bpm.client.spring.impl.subscription.SpringTopicSubscriptionImpl
close, closeInternally, getBusinessKey, getExternalTaskHandler, getLockDuration, getProcessDefinitionId, getProcessDefinitionIdIn, getProcessDefinitionKey, getProcessDefinitionKeyIn, getProcessDefinitionVersionTag, getProcessVariables, getSubscriptionConfiguration, getTenantIdIn, getTopicName, getVariableNames, initialize, isAutoOpen, isIncludeExtensionProperties, isLocalVariables, isOpen, isWithoutTenantId, open, publishInitializedEvent, setExternalTaskHandler, setSubscriptionConfiguration, start, toArray
-
-
-
-
Field Detail
-
clientProperties
@Autowired protected ClientProperties clientProperties
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Overrides:
afterPropertiesSet
in classSpringTopicSubscriptionImpl
- Throws:
java.lang.Exception
-
isEventThatCanStartSubscription
protected java.util.function.Predicate<org.springframework.context.ApplicationEvent> isEventThatCanStartSubscription()
- Overrides:
isEventThatCanStartSubscription
in classSpringTopicSubscriptionImpl
-
mergeSubscriptionWithProperties
protected void mergeSubscriptionWithProperties()
-
-