diff --git a/doc/reference/src/messaging.xml b/doc/reference/src/messaging.xml index 3fd13468..f3e3e5d7 100644 --- a/doc/reference/src/messaging.xml +++ b/doc/reference/src/messaging.xml @@ -218,7 +218,7 @@ even with the option of using WCF, many people prefer to sit 'closer to the metal' when using messaging middleware, to access specific features and functionality not available in WCF, or simply because they are more - comfortable with that programming model. + comfortable with that programming model. A WCF binding for Apache NMS is being developed as a separate project under the - The TIBCO EMS ConnectionFactory is not interface based and its - methods are not virtual so no additional functionality that may - otherwise be part of a ConnectionFactory 'Wrappers' (to be discussed - later) are provided. - - -
- Caching EMS Resources - - The class - Spring.Messaging.Nms.Connections.CachingConnectionFactory -
+ vendor specific such as SSL configuration options.
@@ -302,9 +290,7 @@ Between the ConnectionFactory and the Send operation there are three intermediate objects that are created and destroyed. To optimise the resource usage and increase performance two implementations of - IConnectionFactory are provided. Note that the TIBCO EMS implementation - is not based on interfaces and an alternative strategy was selected for - the time being. See the last section in this manual for details. + IConnectionFactory are provided.
SingleConnectionFactory @@ -837,13 +823,14 @@ public delegate object ProducerDelegate(ISession session, IMessageProducer produ Other vendors may provide a delegate based version of this callback or even both a delegate and interface options. Apache ActiveMQ - supports only the use of delegates for message reception callbacks. As a + supports the use of delegates for message reception callbacks. As a programming convenience in Spring.Messaging.Nms.Core is an interface IMessageListener that can be used with NMS. - Below is a simple implementation of the IMessageListener interface - that processing a message. + Below is a simple implementation of the + IMessageListener interface that processes a + message. using Spring.Messaging.Nms.Core; using Apache.NMS; @@ -1403,47 +1390,4 @@ namespace MyApp
- -
- TIBCO EMS Specific Details - - This section covers functionality and behavior that is different - than described previously and is specific to TIBCO EMS. - -
- Resource Management - - Caching of messaging resources is usually done by a wrapping the - 'raw provider' provider implementation with an implementation that will - cache messaging resources. The resources that are candidates for caching - are the Connection, Session, and MessageProducer. The JMS specification - requires that the Connection be thread safe. The Session and - MessageProducer are not required to be thread safe but they are in - TIBCO's implementation. The most important resource to cache is the EMS - Connection since the flow of events in the message template class - (EmsTemplate) is to create/close a connection on each operation and this - is an expensive operation. - - Spring provides a convenience class, SingleConnectionFactory, in - which the same Connection is returned on calls to CreateConnection() and - all calls to .Close() on the returned Connection are ignored. Since - TIBCO's Connection class does not have an interface nor virtual methods - this strategy is not possible. An alternative strategy used is to - 'hard-code' the caching of these resources within EmsTemplate and - SimpleMessageContainer. This functionality is controlled by the property - CacheJmsResources and is set to true by default, - resulting in caching of Connection, Session, and MessageProducer. When - using the TIBCO EMS binding for the NMS APIs you do not need to set this - property and can instead use one of the wrapper implementations in - Spring based on the NMS API that performs caching of messaging - resources. -
- -
- Queue browsing in EmsTemplate - - The following queue browsing operations are available on - EmsTemplate -
-
diff --git a/doc/reference/src/orm.xml b/doc/reference/src/orm.xml index cbad46ef..d7e2240d 100644 --- a/doc/reference/src/orm.xml +++ b/doc/reference/src/orm.xml @@ -529,7 +529,7 @@ Session, as its lifecycle is managed by the transaction). Asking for the - public class HibernateProductDao extends HibernateDaoSupport implements ProductDao { + public class HibernateProductDao : HibernateDaoSupport, IProductDao { public Customer SaveOrUpdate(Customer customer) {