You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2025-01-05T21:33:21.726+04:00[ INFO 1396 --- [transaction-sync-traceid] [ scheduling-1] [677ac2610ebc3f65f920ea37a7aa2cb8-f920ea37a7aa2cb8] [0;39m[36mc.i.s.c.PollerWithTransactionFlowConfig :Supplied Message is: Good Day
2025-01-05T21:33:21.733+04:00[ INFO 1396 --- [transaction-sync-traceid] [ scheduling-1] [677ac26181d6b7f5f53ebcee6f7e914a-f53ebcee6f7e914a] [0;39m[36mc.i.sample.config.TransactionConfig :Transaction Committed, but traceId is different here !!
Essentially a SourcePollingChannelAdapter must start an observation when it polls a message.
For a consistency with tracing chain, I believe this SourcePollingChannelAdapter is Kind.CONSUMER.
The point is that it is "handling" message to the channel which is Kind.PRODUCER.
The PollingConsumer is covered by the connection between channel as a producer Kind.PRODUCER and MessageHandler as a Kind.CONSUMER.
So, we don't need any extra observation specific for this endpoint implementation.
TraceId is getting changed when the Poller of an IntegrationFlow is bound transactional.
Sample to debug available at https://github.com/syedyusufh/transaction-sync-traceid
SO Reference - https://stackoverflow.com/questions/79331223/spring-integration-traceid-changed-in-transactionsynchronizationfactory
The text was updated successfully, but these errors were encountered: