Class MailMessageSubjectInboundEventTenantDetector
java.lang.Object
com.flowable.platform.engine.impl.eventregistry.mail.MailMessageSubjectInboundEventTenantDetector
- All Implemented Interfaces:
InboundEventTenantDetector<jakarta.mail.internet.MimeMessage>
public class MailMessageSubjectInboundEventTenantDetector
extends Object
implements InboundEventTenantDetector<jakarta.mail.internet.MimeMessage>
- Author:
- Filip Hrisafov
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMailMessageSubjectInboundEventTenantDetector
(Pattern subjectTenantPattern, String fallbackTenantId) -
Method Summary
Modifier and TypeMethodDescriptiondetectTenantId
(jakarta.mail.internet.MimeMessage event) protected String
extractSubjectTenant
(String subject) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.eventregistry.api.InboundEventTenantDetector
detectTenantId
-
Field Details
-
subjectTenantPattern
-
fallbackTenantId
-
-
Constructor Details
-
MailMessageSubjectInboundEventTenantDetector
-
-
Method Details
-
detectTenantId
- Specified by:
detectTenantId
in interfaceInboundEventTenantDetector<jakarta.mail.internet.MimeMessage>
-
extractSubjectTenant
-