From activemq-commits-return-1994-apmail-geronimo-activemq-commits-archive=geronimo.apache.org@geronimo.apache.org Mon Jun 05 16:30:33 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-commits-archive@www.apache.org Received: (qmail 8993 invoked from network); 5 Jun 2006 16:30:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jun 2006 16:30:33 -0000 Received: (qmail 24651 invoked by uid 500); 5 Jun 2006 16:30:33 -0000 Delivered-To: apmail-geronimo-activemq-commits-archive@geronimo.apache.org Received: (qmail 24612 invoked by uid 500); 5 Jun 2006 16:30:33 -0000 Mailing-List: contact activemq-commits-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-commits@geronimo.apache.org Received: (qmail 24602 invoked by uid 99); 5 Jun 2006 16:30:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2006 09:30:32 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Jun 2006 09:30:29 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id ACCBA1A983A; Mon, 5 Jun 2006 09:30:09 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r411852 [1/2] - in /incubator/activemq/site: community.html contributing.html faq.html how-do-i-embed-a-broker-inside-a-connection.html how-to-unit-test-jms-code.html jms.html using-activemq.html Date: Mon, 05 Jun 2006 16:30:07 -0000 To: activemq-commits@geronimo.apache.org From: jstrachan@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060605163009.ACCBA1A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: jstrachan Date: Mon Jun 5 09:30:02 2006 New Revision: 411852 URL: http://svn.apache.org/viewvc?rev=411852&view=rev Log: Latest export from confluence Added: incubator/activemq/site/how-to-unit-test-jms-code.html Modified: incubator/activemq/site/community.html incubator/activemq/site/contributing.html incubator/activemq/site/faq.html incubator/activemq/site/how-do-i-embed-a-broker-inside-a-connection.html incubator/activemq/site/jms.html incubator/activemq/site/using-activemq.html Modified: incubator/activemq/site/community.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/community.html?rev=411852&r1=411851&r2=411852&view=diff ============================================================================== --- incubator/activemq/site/community.html (original) +++ incubator/activemq/site/community.html Mon Jun 5 09:30:02 2006 @@ -250,7 +250,10 @@ Hide Children +

The easiest way to submit a patch is to create a new JIRA issue, attach the patch, tick the Patch Attached button on the issue then fire off an email to the Mailing Lists or Discussion Forums.

+

Becoming a committer

Once you've got involved as above, we may well invite you to be a committer. See Becoming a committer for more details.

@@ -301,7 +302,7 @@ @@ -332,22 +333,22 @@ + + + + + + + + + + + + + - + + + + + + + + + + + + + + - - - - - - - - - - - - - - + @@ -1170,41 +1206,6 @@ - - - - - - - - - - - - -
- + Apache Incubator ActiveMQ & ServiceMix (25 issues)
- Wish + Bug - AMQ-730 + AMQ-734 - 4.x Javadoc + Network connections do not reconnect when using static: with failover=true Unassigned - jason evans + tao - Major + Critical OpenOpen @@ -356,10 +357,10 @@ UNRESOLVED - May 30, 2006 + May 31, 2006 - May 31, 2006 + Jun 04, 2006 @@ -367,22 +368,22 @@
- Bug + Bug - AMQ-734 + AMQ-731 - Network connections do not reconnect when using static: with failover=true + Redeliveries don't work with resource adapter and Jencks Unassigned - tao + Christopher G. Stach II - Critical + Major OpenOpen @@ -391,10 +392,10 @@ UNRESOLVED - May 31, 2006 + May 30, 2006 - May 31, 2006 + Jun 02, 2006 @@ -402,22 +403,22 @@
- Wish + Bug - AMQ-733 + AMQ-716 - Minor renaming of kaha module + message is read from queue but not removed - Rob Davies + Unassigned - Adrian Co + klaus terjung - Trivial + Major OpenOpen @@ -426,10 +427,10 @@ UNRESOLVED - May 30, 2006 + May 19, 2006 - May 30, 2006 + Jun 02, 2006 @@ -437,6 +438,41 @@
+ Bug + + AMQ-735 + + Possible 4.0 consumer client memory leak? + + Unassigned + + Karthik Sethuraman + + Critical + + OpenOpen + + UNRESOLVED + + Jun 01, 2006 + + Jun 01, 2006 + + +
Bug @@ -464,27 +500,27 @@ May 30, 2006 - May 30, 2006 + May 31, 2006
- Bug + Wish - AMQ-731 + AMQ-730 - Redeliveries don't work with resource adapter and Jencks + 4.x Javadoc Unassigned - Christopher G. Stach II + jason evans Major @@ -499,6 +535,41 @@ May 30, 2006 + May 31, 2006 + + +
+ Wish + + AMQ-733 + + Minor renaming of kaha module + + Rob Davies + + Adrian Co + + Trivial + + OpenOpen + + UNRESOLVED + + May 30, 2006 + May 30, 2006 @@ -1067,41 +1138,6 @@
- Bug - - AMQ-716 - - message is read from queue but not removed - - Unassigned - - klaus terjung - - Major - - OpenOpen - - UNRESOLVED - - May 19, 2006 - - May 19, 2006 - - -
Bug @@ -1135,7 +1171,7 @@
Bug
- Bug - - AMQ-710 - - Can't compile the AMQ4.0 release source,cann't find the reliant package. - - Unassigned - - tao - - Major - - OpenOpen - - UNRESOLVED - - May 17, 2006 - - May 17, 2006 - - -

@@ -1221,8 +1222,8 @@ Modified: incubator/activemq/site/faq.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/faq.html?rev=411852&r1=411851&r2=411852&view=diff ============================================================================== --- incubator/activemq/site/faq.html (original) +++ incubator/activemq/site/faq.html Mon Jun 5 09:30:02 2006 @@ -243,7 +243,7 @@
-
+
Children Modified: incubator/activemq/site/how-do-i-embed-a-broker-inside-a-connection.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/how-do-i-embed-a-broker-inside-a-connection.html?rev=411852&r1=411851&r2=411852&view=diff ============================================================================== --- incubator/activemq/site/how-do-i-embed-a-broker-inside-a-connection.html (original) +++ incubator/activemq/site/how-do-i-embed-a-broker-inside-a-connection.html Mon Jun 5 09:30:02 2006 @@ -316,9 +316,7 @@ Connection connection = factory.createConnection();

If you wish to customize the broker using the Xml Configuration and normal Java properties then you can do the following

-
-

-
+

Or you could configure the factory above using JNDI.

Using Spring

@@ -335,7 +333,7 @@

If you want to you could just configure the broker directly in Java code.

-
BrokerContainer roker = new BrokerContainerImpl("TestLargeMessages");
+
BrokerContainer broker = new BrokerContainerImpl("TestLargeMessages");
 broker.addConnector("tcp://localhost:61616");
 broker.start();
@@ -348,8 +346,8 @@ Added: incubator/activemq/site/how-to-unit-test-jms-code.html URL: http://svn.apache.org/viewvc/incubator/activemq/site/how-to-unit-test-jms-code.html?rev=411852&view=auto ============================================================================== --- incubator/activemq/site/how-to-unit-test-jms-code.html (added) +++ incubator/activemq/site/how-to-unit-test-jms-code.html Mon Jun 5 09:30:02 2006 @@ -0,0 +1,270 @@ + + + + + + + + +How to unit test JMS code + + + + + +
+ + + + + + +
+ + + +
+ +
+ + + + + + +
+ + + + + +
+ + +
+ + +

When unit testing code with JMS you typically want to avoid the overhead of persistence and running separate proceses - plus you want to increase startup time as fast as possible as you tend to run unit tests often and want immediate feedback.

+ +

So when unit testing JMS code we recommend the following

+ +
    +
  • use an embedded broker to avoid the separate process
  • +
  • disable broker persistence
  • +
  • its often simpler and faster to just use Java code to create the broker
  • +
+ +
+ +
+
+
+ + + + + + \ No newline at end of file