Modified: incubator/activemq/site/jndi-support.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/jndi-support.html?rev=415283&r1=415282&r2=415283&view=diff ============================================================================== --- incubator/activemq/site/jndi-support.html (original) +++ incubator/activemq/site/jndi-support.html Mon Jun 19 03:33:07 2006 @@ -245,8 +245,7 @@ <!-- <div class="pagetitle">JNDI Support</div> --> - <DIV class="wiki-content"> -<P>ActiveMQ will work with any JNDI provider capable of storing Java objects.</P> + <DIV class="wiki-content"><P>ActiveMQ will work with any JNDI provider capable of storing Java objects.</P> <P>However it is common to require a JNDI initial context to be able to run many JMS example programs, like <SPAN class="nobr"><A href="http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/jms_tutorialTOC.html" title="Visit page outside Confluence" rel="nofollow">Sun's JMS tutorial<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P> @@ -259,10 +258,6 @@ # use the following property to configure the default connector java.naming.provider.url = vm://localhost -# use the following property to specify a class path resource or URL -# used to configure an embedded broker using the XML configuration file -#brokerXmlConfig = file:src/conf/sample-conf/default.xml - # use the following property to specify the JNDI name the connection factory # should appear as. #connectionFactoryNames = connectionFactory, queueConnectionFactory, topicConnectionFactry @@ -276,6 +271,7 @@ # topic.[jndiName] = [physicalName] topic.MyTopic = example.MyTopic</PRE> </DIV></DIV> + <P>You can edit the jndi.properties file to configure the ActiveMQConnectionFactory's properties such as brokerURL and whether or not there should be an embedded broker etc. See <A href="how-do-i-embed-a-broker-inside-a-connection.html" title="How do I embed a Broker inside a Connection">how to embed a broker in a connection</A> for more details.</P> <H3><A name="JNDISupport-ActiveMQJNDITutorial"></A>ActiveMQ JNDI Tutorial</H3> @@ -327,20 +323,15 @@ <TH class="confluenceTh"> Example recommended by specification </TH> </TR> <TR> -<TD class="confluenceTd"> </TD> -</TR> -</TBODY></TABLE> -<DIV class="code"><DIV class="codeContent"> +<TD class="confluenceTd"><DIV class="code"><DIV class="codeContent"> <PRE class="code-java">Properties props = <SPAN class="code-keyword">new</SPAN> Properties(); props.setProperty(Context.INITIAL_CONTEXT_FACTORY,<SPAN class="code-quote">"org.activemq.jndi.ActiveMQInitialContextFactory"</SPAN>); props.setProperty(Context.PROVIDER_URL,<SPAN class="code-quote">"tcp:<SPAN class="code-comment">//hostname:61616"</SPAN>); </SPAN>javax.naming.Context ctx = <SPAN class="code-keyword">new</SPAN> InitialContext(props);||</PRE> -</DIV></DIV> -<TABLE class="confluenceTable"><TBODY> -<TR> -<TD class="confluenceTd"> </TD> +</DIV></DIV></TD> </TR> </TBODY></TABLE> + <P>If ActiveMQ is embedded within an EJB container, you will need to look at the containers documentation for the correct jndi values.</P> <H3><A name="JNDISupport-Dynamicallycreatingdestinations"></A>Dynamically creating destinations</H3> @@ -362,6 +353,24 @@ <P>This can be very handy if you can easily reconfigure the JNDI name to use to lookup something in JNDI, but don't want to have to double configure a jndi.properties to matchup.</P> +<H3><A name="JNDISupport-Workingwithembeddedbrokers"></A>Working with embedded brokers</H3> + +<P>It is often useful to use an embedded broker in the same JVM as the JMS client. For this see <A href="how-do-i-embed-a-broker-inside-a-connection.html" title="How do I embed a Broker inside a Connection">How do I embed a Broker inside a Connection</A>.</P> + +<P>If you want to use an embedded broker with your JNDI provider you can just use the <A href="vm-transport-reference.html" title="VM Transport Reference">VM Transport</A> to connect to the broker in your URL. e.g. to create a purely in JVM broker use this URI</P> + +<DIV class="code"><DIV class="codeContent"> +<PRE class="code-java">vm:<SPAN class="code-comment">//locahost</SPAN></PRE> +</DIV></DIV> + +<P>If you want to customize the broker use something like this</P> + +<DIV class="code"><DIV class="codeContent"> +<PRE class="code-java">vm:broker:(tcp:<SPAN class="code-comment">//localhost:61616)</SPAN></PRE> +</DIV></DIV> + +<P>More options are available in the <A href="vm-transport-reference.html" title="VM Transport Reference">VM Transport Reference</A></P> + <H3><A name="JNDISupport-ExampleJavacode"></A>Example Java code</H3> <P>Once you have configured JNDI on the classpath you can run any normal JMS application such as the following <SPAN class="nobr"><A href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/demo/SimpleProducer.java" title="Visit page outside Confluence" rel="nofollow">example<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>. Notice that the Java code just uses pure JMS APIs and is not in any way ActiveMQ specific</P> @@ -485,8 +494,8 @@ </DIV> <DIV id="site-footer"> Added by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A>, - last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on May 12, 2006 - (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=167&originalId=5420">view change</A>) + last edited by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> on Jun 16, 2006 + (<A href="http://goopen.org/confluence/pages/diffpages.action?pageId=167&originalId=8797">view change</A>) (<A href="http://goopen.org/confluence/pages/editpage.action?pageId=167">edit page</A>) </DIV>
Modified: incubator/activemq/site/logging-interceptor.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/logging-interceptor.html?rev=415283&r1=415282&r2=415283&view=diff ============================================================================== --- incubator/activemq/site/logging-interceptor.html (original) +++ incubator/activemq/site/logging-interceptor.html Mon Jun 19 03:33:07 2006 @@ -253,7 +253,22 @@ <P>You can enable the logging interceptor using the following <SPAN class="nobr"><A href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/util/logging-broker.xml" title="Visit page outside Confluence" rel="nofollow">XML configuration<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P> -</DIV> +<DIV class="code"><DIV class="codeContent"> +<PRE class="code-xml"><SPAN class="code-tag"><beans></SPAN> + <SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</SPAN>/></SPAN> + + <SPAN class="code-tag"><broker useJmx=<SPAN class="code-quote">"false"</SPAN> persistent=<SPAN class="code-quote">"false"</SPAN> xmlns=<SPAN class="code-quote">"http://activemq.org/config/1.0"</SPAN>></SPAN> + + <SPAN class="code-tag"><plugins></SPAN> + + <SPAN class="code-tag"><SPAN class="code-comment"><!-- lets enable detailed logging in the broker --></SPAN></SPAN> + <SPAN class="code-tag"><loggingBrokerPlugin/></SPAN> + + <SPAN class="code-tag"></plugins></SPAN> + <SPAN class="code-tag"></broker></SPAN> + +<SPAN class="code-tag"></beans></SPAN></PRE> +</DIV></DIV></DIV> </DIV> </TD> Modified: incubator/activemq/site/news.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/news.html?rev=415283&r1=415282&r2=415283&view=diff ============================================================================== --- incubator/activemq/site/news.html (original) +++ incubator/activemq/site/news.html Mon Jun 19 03:33:07 2006 @@ -250,6 +250,30 @@ <DIV class="blogSurtitle"> <IMG src="http://goopen.org/confluence/images/icons/blogentry_16.gif" height="16" width="16" border="0" align="absmiddle"> + <A class="blogDate" href="http://goopen.org/confluence/pages/viewblogposts.action?key=ACTIVEMQ&postingDate=2006%2F6%2F16&period=5">Friday, June 16, 2006</A> + </DIV> + + +<DIV class="blogpost" style="margin-bottom: 30px"> + <DIV class="blogHeading"><A href="2006/06/16/performance-tuning-guide-available.html">Performance Tuning Guide Available</A></DIV> + + <DIV class="pagesubheading"> + Last changed: Jun 16, 2006 06:54 by <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> </DIV> + <DIV class="wiki-content"> + <P>We've created a <SPAN class="nobr"><A href="http://devzone.logicblaze.com/site/apache-activemq-performance-tuning-guide.html" title="Visit page outside Confluence" rel="nofollow">performance tuning guide<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> which takes you through the various different configurations and quality of service settings you can use to help tune your use of Apache ActiveMQ. Enjoy!</P> + </DIV> + <DIV class="endsection"> + <B>Posted at 16 Jun @ 6:51 AM</B> by + <IMG src="http://goopen.org/confluence/images/icons/user_16.gif" height="16" width="16" border="0" align="absmiddle" title="User Profile: James Strachan"> + <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> | + <IMG src="http://goopen.org/confluence/images/icons/comment_16.gif" height="16" width="16" border="0" align="absmiddle"> + <A href="2006/06/16/performance-tuning-guide-available.html#comments">0 comments</A> + + + </DIV> +</DIV> + <DIV class="blogSurtitle"> + <IMG src="http://goopen.org/confluence/images/icons/blogentry_16.gif" height="16" width="16" border="0" align="absmiddle"> <A class="blogDate" href="http://goopen.org/confluence/pages/viewblogposts.action?key=ACTIVEMQ&postingDate=2006%2F3%2F23&period=5">Thursday, March 23, 2006</A> </DIV> @@ -521,31 +545,6 @@ </DIV> </DIV> - <DIV class="blogSurtitle"> - <IMG src="http://goopen.org/confluence/images/icons/blogentry_16.gif" height="16" width="16" border="0" align="absmiddle"> - <A class="blogDate" href="http://goopen.org/confluence/pages/viewblogposts.action?key=ACTIVEMQ&postingDate=2005%2F7%2F13&period=5">Wednesday, July 13, 2005</A> - </DIV> - - -<DIV class="blogpost" style="margin-bottom: 30px"> - <DIV class="blogHeading"><A href="2005/07/13/hermes-jms-messagestores-are-cool.html">Hermes JMS MessageStores are cool</A></DIV> - - <DIV class="pagesubheading"> - </DIV> - <DIV class="wiki-content"> - -<P>Here is a <SPAN class="nobr"><A href="http://hermesjms.com/demos/messagestores.html" title="Visit page outside Confluence" rel="nofollow">great demo<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> of how useful the <SPAN class="nobr"><A href="http://hermesjms.com/" title="Visit page outside Confluence" rel="nofollow">HermesJms<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> tool can be when working with a JMS provider like <SPAN class="nobr"><A href="http://activemq.org/" title="Visit page outside Confluence" rel="nofollow">ActiveMQ<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN>. Nice work Colin!</P> - </DIV> - <DIV class="endsection"> - <B>Posted at 13 Jul @ 9:52 AM</B> by - <IMG src="http://goopen.org/confluence/images/icons/user_16.gif" height="16" width="16" border="0" align="absmiddle" title="User Profile: James Strachan"> - <A href="http://goopen.org/confluence/users/viewuserprofile.action?username=jstrachan">James Strachan</A> | - <IMG src="http://goopen.org/confluence/images/icons/comment_16.gif" height="16" width="16" border="0" align="absmiddle"> - <A href="2005/07/13/hermes-jms-messagestores-are-cool.html#comments">0 comments</A> - - - </DIV> -</DIV> <P> <TABLE width="100%" cellspacing="0" class="grid"> @@ -1975,65 +1974,6 @@ <TR><TD valign="top" class="diffnav" width="1%"><A name="change0"></A> </TD><TD valign="top" class="diffnav" width="1%"> <TD class="diffadded">*[*Evolutionary Integration with ESBs*|http://www.infoq.com/articles/Evolutionary-integration]*</TD></TR> <TR><TD colspan="2" class="diffnav"> </TD><TD class="diffnochange"> </TD></TR> <TR><TD colspan="2" class="diffnav"> </TD><TD class="diffnochange">This is the first part of a trilogy of building integration projects using Mule by Rune Schumann and Kjetil Paulsen.</TD></TR> - - </TABLE> - </DIV> - </DIV> - </DIV></SPAN> - </TD> - </TR> - <TR> - <TD valign="top"> - <B><A href="http://docs.codehaus.org/display/GEOS/2006/06/05/GeoServer%20featured%20in%20Geo%20Informatics%20magazine">GeoServer featured in Geo Informatics magazine (updated)</A></B> - - <BR> - <SPAN class="smalltext"><STYLE> - .tag { - font-style: italic; - } - - .smalltext { - color: #666666; - font-size: 10px; - } -</STYLE> -<DIV id="PageContent"> - <DIV style="color: #666666; font-size: 10px;"> - News - updated by <B> <A href="http://goopen.org/display/~cholmes">Chris Holmes</A></B> (<A href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>) to - <A href="http://goopen.org/display/GEOS/2006/06/05/GeoServer%20featured%20in%20Geo%20Informatics%20magazine">revision 3</A> - on Jun 07, 2006 10:11. - created by <B> <A href="http://goopen.org/display/~cholmes">Chris Holmes</A></B> (<A href="mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A>) on Jun 05, 2006 17:35 - </DIV> - <DIV style="border-top:1px solid #d3d3d3;"> - <IMG src="http://goopen.org/images/icons/blogentry_16.gif" height="16" width="16" border="0" style="float:right;" alt="News"> - </DIV> - <P>Just a quick note that GeoServer is featured in <SPAN class="nobr"><A href="http://www.geoinformatics.com/" title="Visit page outside Confluence" rel="nofollow">Geo Informatics<SUP><IMG class="rendericon" src="http://goopen.org/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> magazine this month, in an article titled 'Two Kinds of Open Come Together: Open Source and Open Standards in Geospatial Technologies'. An online version of the article is available at: <SPAN class="nobr"><A href="http://www.geoinformatics.com/asp/default.asp?t=article&newsid=2265" title="Visit page outside Confluence" rel="nofollow">http://www.geoinformatics.com/asp/default.asp?t=article&newsid=2265<SUP><IMG class="rendericon" src="http://goopen.org/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P> - <STYLE> - .diffadded{background: #ddffdd;padding:1px 1px 1px 4px;border-left: 4px solid darkgreen;} - .diffdeleted{color:#999;background: #ffdddd;padding: 1px 1px 1px 4px;border-left: 4px solid darkred;} - .diffnochange{padding:1px 1px 1px 4px;border-left: 4px solid #d3d3d3;} - .differror{background:brown;} - .diff{font-family:lucida console, courier new, fixed-width;font-size: 12px;line-height: 14px;} - .diffaddedchars{background-color:#99ff99;font-weight:bolder;} - .diffremovedchars{background-color:#ff9999;text-decoration: line-through;font-weight:bolder;} - .diffnav{display:none;} - </STYLE> - - <DIV style="margin-top:50px; border:1px solid #d3d3d3;"> - <DIV style="background-color:#E5E5E5; height:30px; padding:5px; margin-bottom:5px; border-bottom:1px solid #d3d3d3;"> - <DIV style="float:left"> - <H4 style="margin:0; padding:0 ">Changes between <A href="http://goopen.org/display/GEOS/2006/06/05/GeoServer%20featured%20in%20Geo%20Informatics%20magazine?pageVersion=2">revision 2</A> and <A href="http://goopen.org/display/GEOS/2006/06/05/GeoServer%20featured%20in%20Geo%20Informatics%20magazine">revision 3</A>:</H4> - </DIV> - <DIV style="float:right" class="smalltext"> - <A href="http://goopen.org/pages/viewpreviouspageversions.action?pageId=53876">view all revisions</A> | - <A href="http://goopen.org/pages/revertpagebacktoversion.action?pageId=53876&version=2">revert page to version 2</A> - </DIV> - </DIV> - <DIV style="margin:5px;"> - <TABLE> - <TR><TD valign="top" class="diffnav" width="1%"><A name="change0"></A> </TD><TD valign="top" class="diffnav" width="1%"> <TD class="diffdeleted">Just a quick note that GeoServer is featured in [Geo Informatics|http://www.geoinformatics.com/] magazine this month, in an article titled 'Two Kinds of Open Come Together: Open Source and Open Standards in Geospatial Technologies'. <SPAN class="diffremovedchars">Unfortunately there's no</SPAN> online version <SPAN class="diffremovedchars">that's freely available, you can just see the [Table</SPAN> of <SPAN class="diffremovedchars">Contents|http://www.geoinformatics.com/asp/default.asp?t=show&id=1334]</SPAN> </TD></TR> -<TR><TD valign="top" class="diffnav" width="1%"><A name="change0"></A> </TD><TD valign="top" class="diffnav" width="1%"> <TD class="diffadded">Just a quick note that GeoServer is featured in [Geo Informatics|http://www.geoinformatics.com/] magazine this month, in an article titled 'Two Kinds of Open Come Together: Open Source and Open Standards in Geospatial Technologies'. <SPAN class="diffaddedchars">An</SPAN> online version <SPAN class="diffaddedchars">of</SPAN> the <SPAN class="diffaddedchars">article is available at: http://www.geoinformatics.com/asp/default.asp?t=article&newsid=2265</SPAN> </TD></TR> </TABLE> </DIV> Modified: incubator/activemq/site/openwire-dotnet.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/openwire-dotnet.html?rev=415283&r1=415282&r2=415283&view=diff ============================================================================== --- incubator/activemq/site/openwire-dotnet.html (original) +++ incubator/activemq/site/openwire-dotnet.html Mon Jun 19 03:33:07 2006 @@ -266,7 +266,44 @@ <H2><A name="OpenWiredotNet-Example"></A>Example</H2> <P>The following example demonstrates the kinds of things available in OpenWire.Net</P> - +<DIV class="code"><DIV class="codeContent"> +<PRE class="code-java">IConnectionFactory factory = <SPAN class="code-keyword">new</SPAN> ConnectionFactory(<SPAN class="code-keyword">new</SPAN> Uri(<SPAN class="code-quote">"tcp:<SPAN class="code-comment">//localhost:61616"</SPAN>)); +</SPAN>using (IConnection connection = factory.CreateConnection()) +{ + Console.WriteLine(<SPAN class="code-quote">"Created a connection!"</SPAN>); + + ISession session = connection.CreateSession(); + + IDestination destination = session.GetQueue(<SPAN class="code-quote">"FOO.BAR"</SPAN>); + Console.WriteLine(<SPAN class="code-quote">"Using destination: "</SPAN> + destination); + + <SPAN class="code-comment">// lets create a consumer and producer +</SPAN> IMessageConsumer consumer = session.CreateConsumer(destination); + + IMessageProducer producer = session.CreateProducer(destination); + producer.Persistent = <SPAN class="code-keyword">true</SPAN>; + + <SPAN class="code-comment">// lets send a message +</SPAN> ITextMessage request = session.CreateTextMessage(<SPAN class="code-quote">"Hello World!"</SPAN>); + request.NMSCorrelationID = <SPAN class="code-quote">"abc"</SPAN>; + request.Properties[<SPAN class="code-quote">"JMSXGroupID"</SPAN>] = <SPAN class="code-quote">"cheese"</SPAN>; + request.Properties[<SPAN class="code-quote">"myHeader"</SPAN>] = <SPAN class="code-quote">"James"</SPAN>; + + producer.Send(request); + + <SPAN class="code-comment">// lets consume a message +</SPAN> ActiveMQTextMessage message = (ActiveMQTextMessage) consumer.Receive(); + <SPAN class="code-keyword">if</SPAN> (message == <SPAN class="code-keyword">null</SPAN>) + { + Console.WriteLine(<SPAN class="code-quote">"No message received!"</SPAN>); + } + <SPAN class="code-keyword">else</SPAN> + { + Console.WriteLine(<SPAN class="code-quote">"Received message with ID: "</SPAN> + message.NMSMessageId); + Console.WriteLine(<SPAN class="code-quote">"Received message with text: "</SPAN> + message.Text); + } +}</PRE> +</DIV></DIV> <P> </P> <H3><A name="OpenWiredotNet-Asynchronousconsumption"></A>Asynchronous consumption</H3> Modified: incubator/activemq/site/overview.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/overview.html?rev=415283&r1=415282&r2=415283&view=diff ============================================================================== --- incubator/activemq/site/overview.html (original) +++ incubator/activemq/site/overview.html Mon Jun 19 03:33:07 2006 @@ -245,7 +245,7 @@ <!-- <div class="pagetitle">Overview</div> --> - <DIV class="wiki-content"><UL><LI><A href="articles.html" title="Articles">Articles</A></LI><LI><A href="changes-in-40.html" title="Changes in 4.0">Changes in 4.0</A><UL><LI><A href="the-jms-connector.html" title="The JMS Connector">The JMS Connector</A></LI></UL></LI><LI><A href="download.html" title="Download">Download</A><UL><LI><A href="activemq-10-release.html" title="ActiveMQ 1.0 Release">ActiveMQ 1.0 Release</A></LI><LI><A href="activemq-11-release.html" title="ActiveMQ 1.1 Release">ActiveMQ 1.1 Release</A></LI><LI><A href="activemq-12-release.html" title="ActiveMQ 1.2 Release">ActiveMQ 1.2 Release</A></LI><LI><A href="activemq-13-release.html" title="ActiveMQ 1.3 Release">ActiveMQ 1.3 Release</A></LI><LI><A href="activemq-14-release.html" title="ActiveMQ 1.4 Release">ActiveMQ 1.4 Release</A></LI><LI><A href="activemq-15-release.html" title="ActiveMQ 1.5 Release">ActiveMQ 1.5 Release</A></LI><LI><A href="activemq-20-release.html" title="ActiveMQ 2.0 Releas e">ActiveMQ 2.0 Release</A></LI><LI><A href="activemq-21-release.html" title="ActiveMQ 2.1 Release">ActiveMQ 2.1 Release</A></LI><LI><A href="activemq-30-release.html" title="ActiveMQ 3.0 Release">ActiveMQ 3.0 Release</A></LI><LI><A href="activemq-31-release.html" title="ActiveMQ 3.1 Release">ActiveMQ 3.1 Release</A></LI><LI><A href="activemq-32-release.html" title="ActiveMQ 3.2 Release">ActiveMQ 3.2 Release</A></LI><LI><A href="activemq-321-release.html" title="ActiveMQ 3.2.1 Release">ActiveMQ 3.2.1 Release</A></LI><LI><A href="activemq-322-release.html" title="ActiveMQ 3.2.2 Release">ActiveMQ 3.2.2 Release</A></LI><LI><A href="activemq-40-m4-release.html" title="ActiveMQ 4.0 M4 Release">ActiveMQ 4.0 M4 Release</A></LI><LI><A href="activemq-40-rc2-release.html" title="ActiveMQ 4.0 RC2 Release">ActiveMQ 4.0 RC2 Release</A></LI><LI><A href="activemq-40-release.html" title="ActiveMQ 4.0 Release">ActiveMQ 4.0 Release</A></LI></UL></LI><LI><A href="news.html" title="News">News</ A></LI></UL> </DIV> + <DIV class="wiki-content"><UL><LI><A href="articles.html" title="Articles">Articles</A></LI><LI><A href="changes-in-40.html" title="Changes in 4.0">Changes in 4.0</A><UL><LI><A href="the-jms-connector.html" title="The JMS Connector">The JMS Connector</A></LI></UL></LI><LI><A href="download.html" title="Download">Download</A><UL><LI><A href="activemq-10-release.html" title="ActiveMQ 1.0 Release">ActiveMQ 1.0 Release</A></LI><LI><A href="activemq-11-release.html" title="ActiveMQ 1.1 Release">ActiveMQ 1.1 Release</A></LI><LI><A href="activemq-12-release.html" title="ActiveMQ 1.2 Release">ActiveMQ 1.2 Release</A></LI><LI><A href="activemq-13-release.html" title="ActiveMQ 1.3 Release">ActiveMQ 1.3 Release</A></LI><LI><A href="activemq-14-release.html" title="ActiveMQ 1.4 Release">ActiveMQ 1.4 Release</A></LI><LI><A href="activemq-15-release.html" title="ActiveMQ 1.5 Release">ActiveMQ 1.5 Release</A></LI><LI><A href="activemq-20-release.html" title="ActiveMQ 2.0 Releas e">ActiveMQ 2.0 Release</A></LI><LI><A href="activemq-21-release.html" title="ActiveMQ 2.1 Release">ActiveMQ 2.1 Release</A></LI><LI><A href="activemq-30-release.html" title="ActiveMQ 3.0 Release">ActiveMQ 3.0 Release</A></LI><LI><A href="activemq-31-release.html" title="ActiveMQ 3.1 Release">ActiveMQ 3.1 Release</A></LI><LI><A href="activemq-32-release.html" title="ActiveMQ 3.2 Release">ActiveMQ 3.2 Release</A></LI><LI><A href="activemq-321-release.html" title="ActiveMQ 3.2.1 Release">ActiveMQ 3.2.1 Release</A></LI><LI><A href="activemq-322-release.html" title="ActiveMQ 3.2.2 Release">ActiveMQ 3.2.2 Release</A></LI><LI><A href="activemq-40-m4-release.html" title="ActiveMQ 4.0 M4 Release">ActiveMQ 4.0 M4 Release</A></LI><LI><A href="activemq-40-rc2-release.html" title="ActiveMQ 4.0 RC2 Release">ActiveMQ 4.0 RC2 Release</A></LI><LI><A href="activemq-40-release.html" title="ActiveMQ 4.0 Release">ActiveMQ 4.0 Release</A></LI><LI><A href="activemq-401-release.html" title="Active MQ 4.0.1 Release">ActiveMQ 4.0.1 Release</A></LI></UL></LI><LI><A href="news.html" title="News">News</A></LI></UL> </DIV> <!-- <div class="tabletitle"> Modified: incubator/activemq/site/per-destination-policies.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/per-destination-policies.html?rev=415283&r1=415282&r2=415283&view=diff ============================================================================== --- incubator/activemq/site/per-destination-policies.html (original) +++ incubator/activemq/site/per-destination-policies.html Mon Jun 19 03:33:07 2006 @@ -249,7 +249,9 @@ <P>Here is an <SPAN class="nobr"><A href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/xbean/activemq2.xml" title="Visit page outside Confluence" rel="nofollow">example<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN></P> -</DIV> +<DIV class="code"><DIV class="codeContent"> +<PRE class="code-xml"></PRE> +</DIV></DIV></DIV> </DIV> </TD> Modified: incubator/activemq/site/persistence.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/persistence.html?rev=415283&r1=415282&r2=415283&view=diff ============================================================================== --- incubator/activemq/site/persistence.html (original) +++ incubator/activemq/site/persistence.html Mon Jun 19 03:33:07 2006 @@ -281,7 +281,9 @@ <P>Here is a sample XML configuration which shows how to configure the journal and the JDBC persistence.</P> <P>AMQ 4.x</P> - +<DIV class="code"><DIV class="codeContent"> +<PRE class="code-xml"></PRE> +</DIV></DIV> <P>For more details see the <A href="initial-configuration.html" title="Initial Configuration">Initial Configuration</A> guide.</P> Modified: incubator/activemq/site/security.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/security.html?rev=415283&r1=415282&r2=415283&view=diff ============================================================================== --- incubator/activemq/site/security.html (original) +++ incubator/activemq/site/security.html Mon Jun 19 03:33:07 2006 @@ -295,7 +295,39 @@ <H4><A name="Security-AuthorizationExample"></A>Authorization Example</H4> <P>The following <SPAN class="nobr"><A href="http://svn.apache.org/repos/asf/incubator/activemq/trunk/activemq-core/src/test/resources/org/apache/activemq/security/jaas-broker.xml" title="Visit page outside Confluence" rel="nofollow">example<SUP><IMG class="rendericon" src="http://goopen.org/confluence/images/icons/linkext7.gif" height="0" width="0" align="absmiddle" alt="" border="0"></SUP></A></SPAN> shows these 2 plugins in operation. Though note its very easy to write your own plugin.</P> +<DIV class="code"><DIV class="codeContent"> +<PRE class="code-xml"><SPAN class="code-tag"><beans xmlns=<SPAN class="code-quote">"http://activemq.org/config/1.0"</SPAN>></SPAN> + <SPAN class="code-tag"><bean class=<SPAN class="code-quote">"org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</SPAN>/></SPAN> + <SPAN class="code-tag"><broker useJmx=<SPAN class="code-quote">"false"</SPAN> persistent=<SPAN class="code-quote">"false"</SPAN>></SPAN> + + <SPAN class="code-tag"><plugins></SPAN> + <SPAN class="code-tag"><SPAN class="code-comment"><!-- use JAAS to authenticate using the login.config file on the classpath to configure JAAS --></SPAN></SPAN> + <SPAN class="code-tag"><jaasAuthenticationPlugin configuration=<SPAN class="code-quote">"activemq-domain"</SPAN> /></SPAN> + + <SPAN class="code-tag"><SPAN class="code-comment"><!-- lets configure a destination based authorization mechanism --></SPAN></SPAN> + <SPAN class="code-tag"><authorizationPlugin></SPAN> + <SPAN class="code-tag"><map></SPAN> + <SPAN class="code-tag"><authorizationMap></SPAN> + <SPAN class="code-tag"><authorizationEntries></SPAN> + <SPAN class="code-tag"><authorizationEntry queue=<SPAN class="code-quote">"></SPAN>"</SPAN> read=<SPAN class="code-quote">"admins"</SPAN> write=<SPAN class="code-quote">"admins"</SPAN> admin=<SPAN class="code-quote">"admins"</SPAN> /> + <SPAN class="code-tag"><authorizationEntry queue=<SPAN class="code-quote">"USERS.></SPAN>"</SPAN> read=<SPAN class="code-quote">"users"</SPAN> write=<SPAN class="code-quote">"users"</SPAN> admin=<SPAN class="code-quote">"users"</SPAN> /> + <SPAN class="code-tag"><authorizationEntry queue=<SPAN class="code-quote">"GUEST.></SPAN>"</SPAN> read=<SPAN class="code-quote">"guests"</SPAN> write=<SPAN class="code-quote">"guests,users"</SPAN> admin=<SPAN class="code-quote">"guests,users"</SPAN> /> + + <SPAN class="code-tag"><authorizationEntry topic=<SPAN class="code-quote">"></SPAN>"</SPAN> read=<SPAN class="code-quote">"admins"</SPAN> write=<SPAN class="code-quote">"admins"</SPAN> admin=<SPAN class="code-quote">"admins"</SPAN> /> + <SPAN class="code-tag"><authorizationEntry topic=<SPAN class="code-quote">"USERS.></SPAN>"</SPAN> read=<SPAN class="code-quote">"users"</SPAN> write=<SPAN class="code-quote">"users"</SPAN> admin=<SPAN class="code-quote">"users"</SPAN> /> + <SPAN class="code-tag"><authorizationEntry topic=<SPAN class="code-quote">"GUEST.></SPAN>"</SPAN> read=<SPAN class="code-quote">"guests"</SPAN> write=<SPAN class="code-quote">"guests,users"</SPAN> admin=<SPAN class="code-quote">"guests,users"</SPAN> /> + + <SPAN class="code-tag"><authorizationEntry topic=<SPAN class="code-quote">"ActiveMQ.Advisory.></SPAN>"</SPAN> read=<SPAN class="code-quote">"guests,users"</SPAN> write=<SPAN class="code-quote">"guests,users"</SPAN> admin=<SPAN class="code-quote">"guests,users"</SPAN>/> + <SPAN class="code-tag"></authorizationEntries></SPAN> + <SPAN class="code-tag"></authorizationMap></SPAN> + <SPAN class="code-tag"></map></SPAN> + <SPAN class="code-tag"></authorizationPlugin></SPAN> + <SPAN class="code-tag"></plugins></SPAN> + <SPAN class="code-tag"></broker></SPAN> + +<SPAN class="code-tag"></beans></SPAN></PRE> +</DIV></DIV> <H3><A name="Security-MessagelevelAuthorization"></A>Message level Authorization</H3> Modified: incubator/activemq/site/siteindex.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/siteindex.html?rev=415283&r1=415282&r2=415283&view=diff ============================================================================== --- incubator/activemq/site/siteindex.html (original) +++ incubator/activemq/site/siteindex.html Mon Jun 19 03:33:07 2006 @@ -256,7 +256,7 @@ <TR> <TD><A href="#index-0-9">0-9</A> ... 1</TD> <TD><A href="#index-A">A</A> ... 32</TD> <TD><A href="#index-B">B</A> ... 6</TD> - <TD><A href="#index-C">C</A> ... 27</TD> + <TD><A href="#index-C">C</A> ... 28</TD> <TD><A href="#index-D">D</A> ... 14</TD> <TD><A href="#index-E">E</A> ... 4</TD> </TR><TR> @@ -467,6 +467,10 @@ <A href="can-i-get-commercial-support.html">Can I get commercial support</A> <BR> <DIV class="smalltext" style="margin: 0 0 0 36px">Absolutely, see our Support page for more details</DIV> + <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Can I send and receive messages concurrently on one JMS Connection"> + <A href="can-i-send-and-receive-messages-concurrently-on-one-jms-connection.html">Can I send and receive messages concurrently on one JMS Connection</A> + <BR> + <DIV class="smalltext" style="margin: 0 0 0 36px">Absolutely! Strictly speaking each producer being used concurrently should be using a separate session (though in ActiveMQ it'll probably work fine if you just use one session for all publishers). For concurrent consumption create a session per ... </DIV> <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Can I send really large files over ActiveMQ"> <A href="can-i-send-really-large-files-over-activemq.html">Can I send really large files over ActiveMQ</A> <BR> @@ -612,7 +616,7 @@ <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Download"> <A href="download.html">Download</A> <BR> - <DIV class="smalltext" style="margin: 0 0 0 36px">Latest Releases You can find all the distributions for 4.x and above within the Distribution Area http://people.apache.org/repository/incubatoractivemq/. The latest release is ActiveMQ 4.0 Release Other releases are available Current development SNAPSHOT releases http://people.apache.org ... </DIV> + <DIV class="smalltext" style="margin: 0 0 0 36px">Latest Releases You can find all the distributions for 4.x and above within the Distribution Area http://people.apache.org/repository/incubatoractivemq/. The latest release is ActiveMQ 4.0 Release Other releases are available Current Maven 2 snapshot releases http ... </DIV> <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="DR"> <A href="dr.html">DR</A> <BR> @@ -1011,7 +1015,7 @@ <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="JNDI Support"> <A href="jndi-support.html">JNDI Support</A> <BR> - <DIV class="smalltext" style="margin: 0 0 0 36px">ActiveMQ will work with any JNDI provider capable of storing Java objects. However it is common to require a JNDI initial context to be able to run many JMS example programs, like Sun's JMS tutorial http://java.sun.com/products/jms/tutorial/131fcs/doc ... </DIV> + <DIV class="smalltext" style="margin: 0 0 0 36px">ActiveMQ will work with any JNDI provider capable of storing Java objects. However it is common to require a JNDI initial context to be able to run many JMS example programs, like Sun's JMS tutorial http://java.sun.com/products/jms/tutorial/131fcs/doc ... </DIV> <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Journal is already opened by this application"> <A href="journal-is-already-opened-by-this-application.html">Journal is already opened by this application</A> <BR> @@ -1054,7 +1058,7 @@ <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="MasterSlave"> <A href="masterslave.html">MasterSlave</A> <BR> - <DIV class="smalltext" style="margin: 0 0 0 36px">Master/Slave functionality is only available in the Apache ActiveMQ 4.0 m5 release and above Introduction Master/Slave is now the recommended way for providing high availabilty and fault tolerance for Apache ActiveMQ. A Master/Slave configuration is ideal for a shared nothing ... </DIV> + <DIV class="smalltext" style="margin: 0 0 0 36px">Master/Slave functionality is only available in the Apache ActiveMQ 4.0 release and above Introduction Master/Slave is now the recommended way for providing high availabilty and fault tolerance for Apache ActiveMQ. A Master/Slave configuration is ideal for a shared nothing, fully ... </DIV> <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Message Groups"> <A href="message-groups.html">Message Groups</A> <BR> @@ -1150,7 +1154,7 @@ <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Per Destination Policies"> <A href="per-destination-policies.html">Per Destination Policies</A> <BR> - <DIV class="smalltext" style="margin: 0 0 0 36px">We support a number of different policies which can be attached to individual destinations (queues, topics) or to wildcards of queue/topic hierarchies. This makes it easy to configure how different regions of the JMS destination space are handled. Here is an example ... </DIV> + <DIV class="smalltext" style="margin: 0 0 0 36px">We support a number of different policies which can be attached to individual destinations (queues, topics) or to wildcards of queue/topic hierarchies. This makes it easy to configure how different regions of the JMS destination space are handled. Here is an example http ... </DIV> <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Performance"> <A href="performance.html">Performance</A> <BR> @@ -1251,7 +1255,7 @@ <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Run Broker"> <A href="run-broker.html">Run Broker</A> <BR> - <DIV class="smalltext" style="margin: 0 0 0 36px">Running a 4.x Broker This page describes how to run a broker using 4.x or later of ActiveMQ. For earlier versions of ActiveMQ see Running a 3.x Broker The binary distribution Download of ActiveMQ comes with a script called 'activemq' which allows you ... </DIV> + <DIV class="smalltext" style="margin: 0 0 0 36px">Running a 4.x Broker Note if you want to use an embedded broker then see How do I embed a Broker inside a Connection This page describes how to run a broker using 4.x or later of ActiveMQ. For earlier versions of ActiveMQ ... </DIV> <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Running a 3.x Broker"> <A href="running-a-3x-broker.html">Running a 3.x Broker</A> <BR> @@ -1400,7 +1404,7 @@ <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Tomcat"> <A href="tomcat.html">Tomcat</A> <BR> - <DIV class="smalltext" style="margin: 0 0 0 36px">You should go to Tomcat documentation and read JNDI Resources HOWTO, especially part: Configure Tomcat's Resource Factory. ActiveMQ has ready JNDI resource factory for all its administered objects: ConnectionFactory and destinations. You must provide ... </DIV> + <DIV class="smalltext" style="margin: 0 0 0 36px">You should go to Tomcat documentation and read JNDI Resources HOWTO, especially part: Configure Tomcat's Resource Factory. ActiveMQ has ready JNDI resource factory for all its administered objects: ConnectionFactory and destinations. You must provide ... </DIV> <IMG src="http://goopen.org/confluence/images/icons/docs_16.gif" height="16" width="16" border="0" align="absmiddle" title="Tools"> <A href="tools.html">Tools</A> <BR>
