Package com.totvs.tjf.messaging
Class TenantAspect
- java.lang.Object
-
- com.totvs.tjf.messaging.TenantAspect
-
@Configuration public class TenantAspect extends Object
Default aspect for tenant settings during messaging communication.- Author:
- Roger.Steuernagel
- See Also:
Aspect
-
-
Constructor Summary
Constructors Constructor Description TenantAspect(TransactionContext transactionContext, com.totvs.tjf.core.json.JsonSchemaValidationService jsonSchemaValidationService, com.fasterxml.jackson.databind.ObjectMapper mapper, com.totvs.tjf.migration.FlywayMigrationProperties flywayMigrationProperties, com.totvs.tjf.core.migration.SchemaService schemaService, com.totvs.tjf.core.utils.SchemaUtils schemaUtils, MessagingProperties messagingProperties, IgnoreMessageComponent ignoreComponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
totvsMessage(org.aspectj.lang.ProceedingJoinPoint joinPoint)
Aspect used in stream listeners that receive aTOTVSMessage
.
-
-
-
Constructor Detail
-
TenantAspect
public TenantAspect(TransactionContext transactionContext, com.totvs.tjf.core.json.JsonSchemaValidationService jsonSchemaValidationService, com.fasterxml.jackson.databind.ObjectMapper mapper, @Nullable com.totvs.tjf.migration.FlywayMigrationProperties flywayMigrationProperties, @Nullable com.totvs.tjf.core.migration.SchemaService schemaService, @Nullable com.totvs.tjf.core.utils.SchemaUtils schemaUtils, MessagingProperties messagingProperties, IgnoreMessageComponent ignoreComponent)
-
-
Method Detail
-
totvsMessage
public void totvsMessage(org.aspectj.lang.ProceedingJoinPoint joinPoint) throws Throwable
Aspect used in stream listeners that receive aTOTVSMessage
. Defines some important information, such asTransactionContext
, tenant and locale information. Check and notifyEventListenerSupport
. Validate Json schema.- Throws:
Throwable
- See Also:
JoinPoint
,TOTVSMessage
,JsonSchemaValidationService
-
-