completed messaging documentation. Minor improvements to NMS apis using delegates.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -255,6 +255,44 @@
|
||||
</parsers>
|
||||
</spring>
|
||||
|
||||
</configuration></programlisting>
|
||||
</section>
|
||||
|
||||
<section id="xsd-config-body-schemas-remoting">
|
||||
<title>The <literal>nms</literal> messaging schema</title>
|
||||
|
||||
<para>The <literal>nms</literal> tags are for use when you want to
|
||||
configure Spring's messaging support. The tags are comprehensively
|
||||
covered in the chapter <xref linkend="messaging" /></para>
|
||||
|
||||
<programlisting><?xml version="1.0" encoding="UTF-8"?>
|
||||
<objects xmlns="http://www.springframework.net"
|
||||
<emphasis role="bold">xmlns:r="http://www.springframework.net/nms"</emphasis>>
|
||||
|
||||
<lineannotation> <!-- <literal><object/></literal> definitions here --></lineannotation>
|
||||
|
||||
<!-- <nms/> remoting definitions here -->
|
||||
|
||||
</objects></programlisting>
|
||||
|
||||
<para>You will also need to configure the remoting namespace parser in
|
||||
the main .NET application configuration file as shown below</para>
|
||||
|
||||
<programlisting><configuration>
|
||||
|
||||
<configSections>
|
||||
<sectionGroup name="spring">
|
||||
<!-- other Spring config sections handler like context, typeAliases, etc not shown for brevity -->
|
||||
<section name="parsers" type="Spring.Context.Support.NamespaceParsersSectionHandler, Spring.Core"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
|
||||
<spring>
|
||||
<parsers>
|
||||
<parser type="Spring.Messaging.Nms.Config.NmsNamespaceParser, Spring.Messaging.Nms" />
|
||||
</parsers>
|
||||
</spring>
|
||||
|
||||
</configuration></programlisting>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user