Spring.Messaging.Amqp.Rabbit
ExposeListenerChannel Property
See Also  Send Feedback
Spring.Messaging.Amqp.Rabbit.Listener Namespace > AbstractMessageListenerContainer Class : ExposeListenerChannel Property
Exposes the listener channel to a registered Spring.Messaging.Amqp.Rabbit.Core.IChannelAwareMessageListener as well as to Spring.Messaging.Amqp.Rabbit.Core.RabbitTemplate calls. Default is true, reusing the listener's IModel

Syntax

C# 
public bool ExposeListenerChannel {get; set;}

Return Value

true if expose listener channel; otherwise, false.

Remarks

Turn this off to expose a fresh Rabbit Channel fetched from the same underlying Rabbit IConnection instead. Note that Channels managed by an external transaction manager will always get exposed to Spring.Messaging.Amqp.Rabbit.Core.RabbitTemplate calls. So interms of RabbitTemplate exposure, this setting only affects locally transacted Channels.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 All Rights Reserved.