SPRNET-1149 - MessageQueue not resolved from MessageQueueObjectName before container starts to consume messages
This commit is contained in:
@@ -153,9 +153,10 @@ namespace Spring.Messaging.Listener
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Initializes this container. Calls the abstract method DoStart if the
|
||||
/// property <see cref="AutoStartup"/> is set to true, then calls
|
||||
/// <see cref="DoInitialize"/>
|
||||
/// Initializes this container. Calls the abstract method <see cref="DoInitialize"/> to
|
||||
/// initialize the listening infrastructure (i.e. subclasses will typically
|
||||
/// resolve a MessageQueue instance from a MessageQueueObjectName) and then calls
|
||||
/// the abstract method DoStart if the property <see cref="AutoStartup"/> is set to true,
|
||||
/// </summary>
|
||||
public virtual void Initialize()
|
||||
{
|
||||
|
||||
@@ -219,7 +219,7 @@ namespace Spring.Messaging.Listener
|
||||
+ ". It must implement IResourceTransactionManager or be a MessageQueueTransactionManager.");
|
||||
}
|
||||
|
||||
//Set useMessageQueueTransactionManager = true when using
|
||||
//Set useContainerManagedMessageQueueTransaction = true when using
|
||||
// 1. non-DTC based transaction manager
|
||||
// 2. not the MessageQueueTransactionManager.
|
||||
if (!useMessageQueueTransactionManagerCalled && isRtm && !isQtm)
|
||||
|
||||
Reference in New Issue
Block a user