misc build fixes for release, doc improvements.
This commit is contained in:
@@ -36,12 +36,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Web.Extensions.2008"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Testing.NUnit.2008", "src\Spring\Spring.Testing.NUnit\Spring.Testing.NUnit.2008.csproj", "{ED204A7B-832F-44C7-BFE3-504AEBE1BCC8}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate.2008", "src\Spring\Spring.Data.NHibernate\Spring.Data.NHibernate.2008.csproj", "{130E1609-45A7-4F65-B112-105F2DD3E2CE}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate12.2008", "src\Spring\Spring.Data.NHibernate12\Spring.Data.NHibernate12.2008.csproj", "{90F2D070-6F98-4926-A626-BD7A6071D6D9}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Data.NHibernate.Tests.2008", "test\Spring\Spring.Data.NHibernate.Tests\Spring.Data.NHibernate.Tests.2008.csproj", "{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Testing.NUnit.Tests.2008", "test\Spring\Spring.Testing.NUnit.Tests\Spring.Testing.NUnit.Tests.2008.csproj", "{4D6D616B-7643-4D6B-8E5E-14ECFDB9AF82}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Spring.Scheduling.Quartz.2008", "src\Spring\Spring.Scheduling.Quartz\Spring.Scheduling.Quartz.2008.csproj", "{E823D54C-CE82-4868-929F-5F95A999F61E}"
|
||||
@@ -234,18 +230,6 @@ Global
|
||||
{ED204A7B-832F-44C7-BFE3-504AEBE1BCC8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{ED204A7B-832F-44C7-BFE3-504AEBE1BCC8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{ED204A7B-832F-44C7-BFE3-504AEBE1BCC8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Release|.NET.Build.0 = Release|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{130E1609-45A7-4F65-B112-105F2DD3E2CE}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{90F2D070-6F98-4926-A626-BD7A6071D6D9}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{90F2D070-6F98-4926-A626-BD7A6071D6D9}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{90F2D070-6F98-4926-A626-BD7A6071D6D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
@@ -258,18 +242,6 @@ Global
|
||||
{90F2D070-6F98-4926-A626-BD7A6071D6D9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{90F2D070-6F98-4926-A626-BD7A6071D6D9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{90F2D070-6F98-4926-A626-BD7A6071D6D9}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|.NET.ActiveCfg = Release|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|.NET.Build.0 = Release|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{94E4E1B4-D424-4EB9-BF34-2EE8CC3D7048}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{4D6D616B-7643-4D6B-8E5E-14ECFDB9AF82}.Debug|.NET.ActiveCfg = Debug|Any CPU
|
||||
{4D6D616B-7643-4D6B-8E5E-14ECFDB9AF82}.Debug|.NET.Build.0 = Debug|Any CPU
|
||||
{4D6D616B-7643-4D6B-8E5E-14ECFDB9AF82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
|
||||
11
Spring.build
11
Spring.build
@@ -451,13 +451,13 @@ Commandline Examples:
|
||||
<nant buildfile="test/Spring/Spring.Services.Tests/Spring.Services.Tests.build" target="test" if="${build-services and not net-3.5}"/>
|
||||
<nant buildfile="test/Spring/Spring.Web.Tests/Spring.Web.Tests.build" target="test" if="${build-web and not net-3.0}"/>
|
||||
<nant buildfile="test/Spring/Spring.Testing.NUnit.Tests/Spring.Testing.NUnit.Tests.build" target="test" if="${build-testing-nunit and not net-3.0}"/>
|
||||
<nant buildfile="test/Spring/Spring.Testing.Microsoft.Tests/Spring.Testing.Microsoft.Tests.build" target="test" if="${build-testing-microsoft and not net-3.0}"/>
|
||||
<nant buildfile="test/Spring/Spring.Testing.Microsoft.Tests/Spring.Testing.Microsoft.Tests.build" target="test" if="${build-testing-microsoft and nant.settings.currentframework == 'net-2.0' and not net-3.0}"/>
|
||||
<!--
|
||||
<nant buildfile="test/Spring/Spring.Messaging.Ems.Tests/Spring.Messaging.Ems.Tests.build" target="test" if="${build-ems and (nant.settings.currentframework == 'net-2.0') and not net-3.0}"/>
|
||||
-->
|
||||
<nant buildfile="test/Spring/Spring.Messaging.Nms.Tests/Spring.Messaging.Nms.Tests.build" target="test" if="${build-nms and not net-3.0}"/>
|
||||
<nant buildfile="test/Spring/Spring.Scheduling.Quartz.Tests/Spring.Scheduling.Quartz.Tests.build" target="build" if="${build-quartz and not net-3.0}"/>
|
||||
<nant buildfile="test/Spring/Spring.Messaging.Tests/Spring.Messaging.Tests.build" target="test" if="${build-testing-microsoft and not net-3.0}"/>
|
||||
<nant buildfile="test/Spring/Spring.Messaging.Tests/Spring.Messaging.Tests.build" target="test" if="${build-msmq and not net-3.0}"/>
|
||||
<nant buildfile="test/Spring/Spring.Template.Velocity.Tests/Spring.Template.Velocity.Tests.build" target="test" if="${build-velocity and not net-3.0}"/>
|
||||
|
||||
<!-- build examples -->
|
||||
@@ -817,10 +817,10 @@ Commandline Examples:
|
||||
|
||||
|
||||
<target name="package" depends="set-package-configuration" description="Build and Package distribution">
|
||||
<!--
|
||||
<property name="project.build.sign" value="true" override="false" />
|
||||
|
||||
<property name="project.build.sign" value="true" overwrite="false" />
|
||||
<property name="project.build.package" value="true"/>
|
||||
-->
|
||||
|
||||
<call target="clean-current-package-dir"/>
|
||||
|
||||
<property name="nant.target.root.name" value="build"/>
|
||||
@@ -833,6 +833,7 @@ Commandline Examples:
|
||||
|
||||
<call target="doc"/>
|
||||
|
||||
|
||||
<call target="package-release-files"/>
|
||||
|
||||
</target>
|
||||
|
||||
117
changelog.txt
117
changelog.txt
@@ -3,6 +3,123 @@ SPRING.NET FRAMEWORK CHANGELOG
|
||||
http://www.springframework.net
|
||||
|
||||
|
||||
Release Version 1.3.0 RC1 August 3, 2009
|
||||
|
||||
Release Notes - Spring.NET - Version 1.3.0 RC1
|
||||
|
||||
Bug
|
||||
|
||||
[SPRNET-444] - An ID in Spring.Expressions can't contain '.' char
|
||||
[SPRNET-471] - TypeResolver does not support type array resolution
|
||||
[SPRNET-1073] - interface method IValidationErrors.MergeErrors(..) references concrete type "ValidationErrors"
|
||||
[SPRNET-1077] - PropertyPlaceholderConfigurer can't read from config sectiongroups
|
||||
[SPRNET-1106] - Invalid Injection
|
||||
[SPRNET-1111] - Bug in DynamicReflectionManager.ConvertValueTypeArgumentIfNecessary, the call Convert.ChangeType fails on converting DateTime to Nullable<DateTime>.
|
||||
[SPRNET-1115] - LocalSessionObjectFactory not detected as a IPersistenceExceptionTranslator in an application context
|
||||
[SPRNET-1117] - WebSupportModule fails to initialize on pre NET 2.0 SP2 platforms due to missing field HttpContext.HideRequestResponse
|
||||
[SPRNET-1121] - XmlMessageConverter error (stream closing order)
|
||||
[SPRNET-1128] - ApplicationContext instance is not removed from ContextRegistry when disposed
|
||||
[SPRNET-1130] - Wrong MessageQueueException handling in DistributedTxMessageListenerContainer and TransactionalMessageListenerContainer
|
||||
[SPRNET-1131] - Exception when using Nullable parameters in proxied service
|
||||
[SPRNET-1134] - Spring.Proxy classes does not generate correctly multiple parameters attributes (method's parameter attributes and method's return type attributes
|
||||
[SPRNET-1135] - Auto Injection for Unit Tests Failing when object has Parent
|
||||
[SPRNET-1142] - Adding parameters does not working for SQLlte text comand
|
||||
[SPRNET-1146] - Validation Controls cause NullReferenceException in webforms designer
|
||||
[SPRNET-1151] - Spring.Web.UI.Page.Validate() method hides framework's System.Web.UI.Page.Validate()
|
||||
[SPRNET-1153] - Deadlock when shutting down AbstractPeekingMessageListenerContainer
|
||||
[SPRNET-1160] - Synchronizations with the same (or no) Order are NOT applied in registration order
|
||||
[SPRNET-1162] - IConfigurableListableObjectFactory misses method RegisterObjectDefinition to be in sync w/ IObjectDefinitionRegistry
|
||||
[SPRNET-1168] - InheritanceBasedAopConfigurer prone to ambiguous matches while proxying methods
|
||||
[SPRNET-1171] - InteritanceAopConfigurer does not proxy protected virtual methods
|
||||
[SPRNET-1174] - Proxies dont implement methods of base interfaces of interfaces
|
||||
[SPRNET-1176] - Spring AOP proxies can't be serialized/deserialized in process
|
||||
[SPRNET-1179] - ServiceExporter cannot export types implementing multiple interfaces
|
||||
[SPRNET-1186] - DbParameters.GetValue returning DbParameter object instead of value
|
||||
[SPRNET-1201] - Error importing XML object definition file - IOUtils::CopyStream() does not handle buffer under fills.
|
||||
[SPRNET-1204] - Unable to export an AOP-proxied instance by using Enterprice Service Exporter
|
||||
[SPRNET-1211] - the same .aspx page cannot be registered under different id's or aliases
|
||||
[SPRNET-1219] - NonTransactionalMessageListenerContainer may require setting of message formatter before calling receive
|
||||
[SPRNET-1221] - Both <tx:attribute-driven> and an extra DefaultAdvisorAutoProxyCreator cause advices to be invoked multiple times
|
||||
[SPRNET-1222] - MessageQueueFactoryObject.GetObject() sets global MessageQueue.EnableConnectionCache property
|
||||
[SPRNET-1225] - Dependencies of Advisors should not be eligible for auto-proxying
|
||||
[SPRNET-1231] - objects defined using factory-object and factory-method get already instantiated during ObjectFactory postprocessing phase
|
||||
[SPRNET-1233] - Can not send to remote private MSMQ queue
|
||||
|
||||
Improvement
|
||||
|
||||
[SPRNET-467] - add support for bitwise operations to Spring.Expressions
|
||||
[SPRNET-504] - Allow circular references on prototypes
|
||||
[SPRNET-620] - Support for Collection Merging in Parent/Child Object Definitions
|
||||
[SPRNET-691] - Add ExecuteSqlScript utility method to AbstractTransactionalDbProviderSpringContextTests
|
||||
[SPRNET-698] - Make Advisor/Advice binary serializable
|
||||
[SPRNET-904] - RollbackRuleAttribute throws AopConfiguration exception instead of ArgumentException
|
||||
[SPRNET-929] - Improve namespace parsing infrastructure
|
||||
[SPRNET-1018] - DoRedirect in ResultMode uses Response.Redirect that throws ThreadAbortException
|
||||
[SPRNET-1081] - Add an ExceptionThrowingAction to Spring.Validation framework
|
||||
[SPRNET-1095] - mprove example application showing use of ServicedComponent exporter (COM+/EnterpriseServices)
|
||||
[SPRNET-1102] - Improve Northwind NHibernate example
|
||||
[SPRNET-1108] - Add support for InterSystems.Data.CacheClient provider
|
||||
[SPRNET-1110] - Add "contextswitch" to validation framework
|
||||
[SPRNET-1112] - Provide AbstractSimpleObjectDefinitionParser
|
||||
[SPRNET-1114] - Performance problems with Spring.Testing.NUnit in 1.2.0 release
|
||||
[SPRNET-1125] - Ordering of object names in ObjectFactory.GetObjectDefinitionNames() and GetObjectNamesForType() is not predictable
|
||||
[SPRNET-1126] - XmlMessageConverter/TypeMapper usage should be able to embed fully qualified type name to enable type sharing between producer and subscriber
|
||||
[SPRNET-1127] - NmsTemplate could support both topics/queues in a threadsafe manner.
|
||||
[SPRNET-1140] - Allow for both, CLR and Spring syntax for generic type definitions in XML and SpEL
|
||||
[SPRNET-1149] - MessageQueue not resolved from MessageQueueObjectName before container starts to consume messages
|
||||
[SPRNET-1150] - Provide warning if MSMQ IMessageConverter object is not specified with scope = prototype.
|
||||
[SPRNET-1154] - Update Apache.NMS library version
|
||||
[SPRNET-1158] - Provide means to check for an active AOP invocation context
|
||||
[SPRNET-1163] - AbstractSpringContextTests.SetDirty should take System.Object argument
|
||||
[SPRNET-1167] - It is impossible to configure Null values using VariablePlaceholderConfigurer
|
||||
[SPRNET-1177] - PropertyComparator doesn't perform stable sorting
|
||||
[SPRNET-1181] - Improve support for NHibernate 3
|
||||
[SPRNET-1182] - defer target==null checking until actual joinpoint invocation in aop proxy method implementations
|
||||
[SPRNET-1190] - Add error code for duplicateKeyCodes to DbProvider metadata for Oracle
|
||||
[SPRNET-1191] - Add additional convenience constructors to ProxyFactory
|
||||
[SPRNET-1192] - VS Intellisense doesn't show annotation comments from Spring Schemas
|
||||
[SPRNET-1206] - Upgrade to NUnit 2.5 or make it version independent
|
||||
[SPRNET-1208] - support IObjectFactoryAware on manual AddObjectPostProcessor registration
|
||||
[SPRNET-1215] - Add DuplicateKeyException to DAO exception hierachy
|
||||
[SPRNET-1224] - FactoryObject products from singleton factories don't get cached
|
||||
[SPRNET-1235] - Switch to internal AutoProxyCreator for <tx:attribute-driven /> (sync with Spring/J)
|
||||
[SPRNET-1238] - Repackage antlr 2.7.6 inside Spring.Core
|
||||
[SPRNET-1240] - Add Non/TransientDataAccessException to DAO exception hierarchy
|
||||
|
||||
New Feature
|
||||
|
||||
[SPRNET-843] - VS.NET 2008 project and solutions templates
|
||||
[SPRNET-1104] - NHibernate 2.1 Support
|
||||
[SPRNET-1109] - Support DI in EnterpriseServices / ServicedComponent
|
||||
[SPRNET-1178] - add utility methods for stable sorting of arbitrary collections
|
||||
[SPRNET-1196] - Add support for Microsoft's Test Framework in AbstractDependencyInjectionSpringContextTests and related subclasses
|
||||
[SPRNET-1197] - Add support for TIBCO EMS
|
||||
[SPRNET-1230] - Include NH 2.1 Proxy Generator Provider in distribution
|
||||
[SPRNET-1236] - NVelocity integration
|
||||
[SPRNET-1237] - Implement parsing of property element in NVelocity custom namespace
|
||||
[SPRNET-1243] - Add DictionaryVariableSource
|
||||
|
||||
Refactoring
|
||||
|
||||
[SPRNET-1089] - Change DoStop() in AbstractListenerContainer to protected
|
||||
[SPRNET-1090] - Make AbstractSendToQueueExceptionHandler abstract
|
||||
[SPRNET-1091] - Add ORIGINAL_DEFAULT_HANDLER_METHOD to MSMQ MessageListenerAdapter
|
||||
[SPRNET-1234] - Change validator type hierarchy to cleanly separated simple vs. group validator types
|
||||
|
||||
Task
|
||||
|
||||
[SPRNET-627] - Add example and reference documentation to show NmsTemplate usage with MSMQ binding.
|
||||
[SPRNET-1005] - Investigate AbstractObjectFactory method ContainsObject for behavior when searching parent object factory.
|
||||
[SPRNET-1072] - Extend validation schema for new "FastValidate" property on ValidatorGroup
|
||||
[SPRNET-1113] - Investigate propagation supports with readonly=true for NH
|
||||
[SPRNET-1118] - Investigate rendering of validation errors in nested controls
|
||||
[SPRNET-1137] - check possible bug w/ transactions and nhibernate integration
|
||||
[SPRNET-1143] - update renamed IApplicationListener -> IApplicationEventListener interface in reference docs
|
||||
[SPRNET-1165] - Compile against antlr 2.7.7.3
|
||||
[SPRNET-1218] - Update to use Apache NMS 1.1
|
||||
[SPRNET-1239] - Check for package cycles with NDepend
|
||||
|
||||
|
||||
Release Version 1.2.0, November 10, 2008
|
||||
|
||||
Release Notes - Spring.NET - Version 1.2.0
|
||||
|
||||
@@ -45,6 +45,7 @@
|
||||
<!ENTITY nh-quickstart SYSTEM "nh-quickstart.xml">
|
||||
<!ENTITY quartz-quickstart SYSTEM "quartz-quickstart.xml">
|
||||
<!ENTITY nms-quickstart SYSTEM "nms-quickstart.xml">
|
||||
<!ENTITY ems-quickstart SYSTEM "ems-quickstart.xml">
|
||||
<!ENTITY msmq-quickstart SYSTEM "msmq-quickstart.xml">
|
||||
<!ENTITY wcf-quickstart SYSTEM "wcf-quickstart.xml">
|
||||
<!ENTITY javadevelopers SYSTEM "javadevelopers.xml">
|
||||
@@ -400,6 +401,9 @@
|
||||
<listitem>
|
||||
<xref linkend="nms-quickstart" />
|
||||
</listitem>
|
||||
<listitem>
|
||||
<xref linkend="ems-quickstart" />
|
||||
</listitem>
|
||||
<listitem>
|
||||
<xref linkend="msmq-quickstart" />
|
||||
</listitem>
|
||||
@@ -418,6 +422,7 @@
|
||||
&nh-quickstart;
|
||||
&quartz-quickstart;
|
||||
&nms-quickstart;
|
||||
&ems-quickstart;
|
||||
&msmq-quickstart;
|
||||
&wcf-quickstart;
|
||||
</part>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
xmlns:ns4="http://www.w3.org/1999/xhtml"
|
||||
xmlns:ns3="http://www.w3.org/2000/svg"
|
||||
xmlns:ns="http://docbook.org/ns/docbook">
|
||||
<title>Message Oriented Middleware - Apache ActiveMQ</title>
|
||||
<title>Message Oriented Middleware - Apache ActiveMQ and TIBCO EMS</title>
|
||||
|
||||
<section>
|
||||
<title>Introduction</title>
|
||||
@@ -62,20 +62,20 @@
|
||||
|
||||
<listitem>
|
||||
<para>TIBCO EMS in namespace <literal>Spring.Messaging.Ems</literal>.
|
||||
'Ems' is sometimes used as the class prefix (to becommerically
|
||||
available )</para>
|
||||
'Ems' is sometimes used as the class prefix (available as of
|
||||
Spring.NET 1.3 )</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>SonicMQ in namespace <literal>Spring.Messaging.Sonic</literal>,
|
||||
'Jms' is sometimes used as the class prefix. (to be commercially
|
||||
available)</para>
|
||||
'Jms' is sometimes used as the class prefix. (in a future
|
||||
release)</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Websphere MQ in namespace
|
||||
<literal>Spring.Messaging.Xms</literal>, 'Xms' is sometimes used as
|
||||
the class prefix (to be commerically available)</para>
|
||||
the class prefix (in a future release)</para>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
|
||||
@@ -276,6 +276,30 @@
|
||||
application as a factory to create connections to the messaging server
|
||||
and encapsulates various configuration parameters, many of which are
|
||||
vendor specific such as SSL configuration options.</para>
|
||||
|
||||
<para><classname>EmsTemplate</classname> also requres a reference to a
|
||||
ConnectionFactory, however, it is not the 'native'
|
||||
<classname>TIBCO.EMS.ConnectionFactory</classname>. Instead the
|
||||
connection factory type is
|
||||
Spring.Messaging.Ems.Common.IConnectionFactory. A set of interfaces has
|
||||
created that mirror the standard TIBCO API for ConnectionFactory,
|
||||
Connection, Session, MessageProducer, MessageConsumer, and
|
||||
ITopicSubscriber. This was done in order to provide caching of these
|
||||
resources internally in a transparent manager and to a lesser extent,
|
||||
provide a convenient API that makes them easy to configure using
|
||||
dependency injection. Typically users of Spring.NET do not need to
|
||||
programmatically interact with these classes, instead using methods of
|
||||
EmsTemplate to syncrhonously send and consume messages and a
|
||||
SimpleMessageListenerContainer to asynchronously consume messages. It
|
||||
will be common to configure an
|
||||
Spring.Messaging.Ems.Common.ConnectionFactory using depdency injection.
|
||||
Please refer to the Spring APi documentation for the properties that are
|
||||
available - they mirror all the properties you find on the standard
|
||||
TIBCO ConnectionFactory. You can also set or get the underlying 'native'
|
||||
TIBCO EMS object, such as the TIBCO.EMS.ConnectionFactory using a
|
||||
property 'NativeConnectionFactory' There is a similar 'Native' property
|
||||
that is available on all of the classes that are in the
|
||||
Spring.Messaging.Ems.Common.namespace.</para>
|
||||
</section>
|
||||
|
||||
<section xml:id="activemq-using-caching-resources">
|
||||
@@ -1123,7 +1147,8 @@ namespace MyApp
|
||||
<title>Messaging Namespace support</title>
|
||||
|
||||
<para>To use the NMS namespace elements you will need to reference the
|
||||
NMS schema. For information on how to set this up refer to <xref
|
||||
NMS schema. When using TIBCO EMS you should refer to the TIBCO EMS
|
||||
Schema. For information on how to set this up refer to <xref
|
||||
linkend="xsd-config-body-schemas-nms" />. The namespace consists of one
|
||||
top level elements: <listener-container/> which can contain one or
|
||||
more <listener/> child elements. Here is an example of a basic
|
||||
@@ -1254,15 +1279,15 @@ namespace MyApp
|
||||
to define highly-customized listener containers while still benefiting
|
||||
from the convenience of the namespace.</para>
|
||||
|
||||
<programlisting language="myxml"><jms:listener-container connection-factory="MyConnectionFactory"
|
||||
<programlisting language="myxml"><nms:listener-container connection-factory="MyConnectionFactory"
|
||||
destination-resolver="MyDestinationResolver"
|
||||
concurrency="10">
|
||||
|
||||
<jms:listener destination="queue.orders" ref="OrderService" method="PlaceOrder"/>
|
||||
<nms:listener destination="queue.orders" ref="OrderService" method="PlaceOrder"/>
|
||||
|
||||
<jms:listener destination="queue.confirmations" ref="ConfirmationLogger" method="Log"/>
|
||||
<nms:listener destination="queue.confirmations" ref="ConfirmationLogger" method="Log"/>
|
||||
|
||||
</jms:listener-container></programlisting>
|
||||
</nms:listener-container></programlisting>
|
||||
|
||||
<para>The following table describes all available attributes. Consult
|
||||
the class-level SDK documentation of the
|
||||
|
||||
@@ -238,6 +238,16 @@ While dependecy injection generally leads to classes that are easier to unit tes
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td width="20%">
|
||||
<a href="Spring.Messaging.Ems.html">Spring.Messaging.Ems</a>
|
||||
</td>
|
||||
<td width="80%">
|
||||
<p>As with the Apache ActiveMQ integration classes, The goal of Spring's TIBCO EMS support is to increase your productiviity when writing TIBCO EMS based applications.</p>
|
||||
<p>The quick start application, <A href="http://www.springframework.net/doc-latest/reference/html/ems-quickstart.html">Spring.EmsQuickStart</A> as well as the section in the <A href="http://www.springframework.net/doc-latest/reference/html/messaging.html">reference docs</A> are good places to get started.</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td width="20%">
|
||||
<a href="Spring.Scheduling.Quartz.html">Spring.Scheduling.Quartz</a>
|
||||
@@ -249,6 +259,16 @@ While dependecy injection generally leads to classes that are easier to unit tes
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td width="20%">
|
||||
<a href="Spring.Template.Velocity.html">Spring.Template.Velocity</a>
|
||||
</td>
|
||||
<td width="80%">
|
||||
<p>For convenience purposes, Spring offers a couple of classes that simplify the usage of configuring a NVelocity engine within Spring-based applications.</p>
|
||||
<p>The <A href="http://www.springframework.net/doc-latest/reference/html/scheduling.html#scheduling-quartz">Quartz section</A> in the reference docs is a good place to get started.</p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,3 +1,22 @@
|
||||
#region License
|
||||
|
||||
/*
|
||||
* Copyright 2002-2009 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#endregion
|
||||
|
||||
|
||||
using Spring.Messaging.Ems.Core;
|
||||
using Spring.Messaging.Ems.Cor;e
|
||||
using Spring.EmsQuickStart.Common.Data;
|
||||
|
||||
namespace Spring.EmsQuickStart.Client.Gateways
|
||||
|
||||
@@ -70,10 +70,6 @@
|
||||
<Project>{710961A3-0DF4-49E4-A26E-F5B9C044AC84}</Project>
|
||||
<Name>Spring.Core.2008</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\src\Spring\Spring.Data.NHibernate\Spring.Data.NHibernate.2008.csproj">
|
||||
<Project>{130E1609-45A7-4F65-B112-105F2DD3E2CE}</Project>
|
||||
<Name>Spring.Data.NHibernate.2008</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\src\Spring\Spring.Data\Spring.Data.2008.csproj">
|
||||
<Project>{AE00E5AB-C39A-436F-86D2-33BFE33E2E40}</Project>
|
||||
<Name>Spring.Data.2008</Name>
|
||||
@@ -122,4 +118,4 @@
|
||||
xcopy "$(ProjectDir)Data" ..\..\..\..\build\VS.Net.2008\Spring.Data.NHibernate.Tests\$(ConfigurationName)\ /y /s /q /d
|
||||
xcopy "$(ProjectDir)$(TargetFileName).config" ..\..\..\..\build\VS.Net.2008\Spring.Data.NHibernate.Tests\$(ConfigurationName)\ /y /s /q</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
@@ -220,7 +220,7 @@ namespace Spring.Messaging.Core
|
||||
ReceiveHelloWorld(messageQueueObjectName, q, 2);
|
||||
ReceiveHelloWorld(messageQueueObjectName, q, 3);
|
||||
}
|
||||
|
||||
#if NET_2_0
|
||||
private static void SendUsingMessageTx(string messageQueueObjectName, MessageQueueTemplate q)
|
||||
{
|
||||
IPlatformTransactionManager txManager = new MessageQueueTransactionManager();
|
||||
@@ -254,7 +254,7 @@ namespace Spring.Messaging.Core
|
||||
return null;
|
||||
});
|
||||
}
|
||||
|
||||
#endif
|
||||
#endregion
|
||||
|
||||
protected override string[] ConfigLocations
|
||||
|
||||
Reference in New Issue
Block a user