Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

TransactionalMessageListenerContainer.ExposeContainerManagedMessageQueueTransaction Property

Gets or sets a value indicating whether expose the container managed MessageQueueTransaction to thread local storage where it will be automatically used by MessageQueueTemplate send and receive operations.

[Visual Basic]
Public Property ExposeContainerManagedMessageQueueTransaction() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
public bool ExposeContainerManagedMessageQueueTransaction { public get; public set; }

Property Value

true if [expose container managed message queue transaction]; otherwise, false.


Using an MessageQueueTransactionManager will always exposes a MessageQueueTransaction to thread local storage. This property only has effect when using a non-DTC based

See Also

TransactionalMessageListenerContainer Class | Spring.Messaging.Listener Namespace