buildbot failure in ASF Buildbot on activemq-site-production

2014-05-23 Thread buildbot
The Buildbot has detected a new failure on builder activemq-site-production 
while building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/activemq-site-production/builds/758

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

BUILD FAILED: failed compile

sincerely,
 -The Buildbot





buildbot success in ASF Buildbot on activemq-site-production

2014-05-23 Thread buildbot
The Buildbot has detected a restored build on builder activemq-site-production 
while building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/activemq-site-production/builds/759

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

Build succeeded!

sincerely,
 -The Buildbot





[CONF] Apache ActiveMQ How can I see what destinations are used

2014-05-23 Thread Timothy Bish (Confluence)














  


Timothy Bish edited the page:
 


How can I see what destinations are used   






...
You can also get all of the active destinations from the broker using Java code via getDestinations().
You can also get a Map of all the Destination objects indexed by ActiveMQDestination via getDestinationMap(). This allows you to look at the individual destination details such as the queue depths and so forth






 View Online   Like   View Changes  
 Stop watching space   Manage Notifications  


 


 


  This message was sent by Atlassian Confluence 5.0.3, Team Collaboration Software  






svn commit: r909725 - in /websites/production/activemq/content: activemq-510-release.html amqp.html cache/main.pageCache how-can-i-see-what-destinations-are-used.html siteindex.html

2014-05-23 Thread buildbot
Author: buildbot
Date: Fri May 23 14:20:48 2014
New Revision: 909725

Log:
Production update by buildbot for activemq

Modified:
websites/production/activemq/content/activemq-510-release.html
websites/production/activemq/content/amqp.html
websites/production/activemq/content/cache/main.pageCache

websites/production/activemq/content/how-can-i-see-what-destinations-are-used.html
websites/production/activemq/content/siteindex.html

Modified: websites/production/activemq/content/activemq-510-release.html
==
--- websites/production/activemq/content/activemq-510-release.html (original)
+++ websites/production/activemq/content/activemq-510-release.html Fri May 23 
14:20:48 2014
@@ -111,38 +111,19 @@
 /div
 
 
-h2 id=ActiveMQ5.1.0Release-VerifytheIntegrityofDownloadsVerify the 
Integrity of Downloads  /h2
-
-pIt is essential that you verify the integrity of the downloaded files using 
the PGP or MD5 signatures. The PGP signatures can be verified using PGP or GPG. 
Begin by following these steps: /p
-
-olliDownload the a shape=rect class=external-link 
href=http://www.apache.org/dist/activemq/apache-activemq/KEYS;KEYS/a/liliDownload
 the asc signature file for the relevant distribution/liliVerify the 
signatures using the following commands, depending on your use of PGP or GPG:
-div class=code panel pdl style=border-width: 1px;div class=codeContent 
panelContent pdl
-script class=theme: Default; brush: java; gutter: false 
type=syntaxhighlighter![CDATA[
-$ pgpk -a KEYS
+h2 id=ActiveMQ5.1.0Release-VerifytheIntegrityofDownloadsVerify the 
Integrity of Downloads/h2pIt is essential that you verify the integrity of 
the downloaded files using the PGP or MD5 signatures. The PGP signatures can be 
verified using PGP or GPG. Begin by following these steps:/polliDownload 
the a shape=rect class=external-link 
href=http://www.apache.org/dist/activemq/KEYS;KEYS/a/liliDownload the 
asc signature file for the relevant distribution/lilipVerify the 
signatures using the following commands, depending on your use of PGP or 
GPG:/pdiv class=code panel pdl style=border-width: 1px;div 
class=codeContent panelContent pdl
+script class=theme: Default; brush: java; gutter: false 
type=syntaxhighlighter![CDATA[$ pgpk -a KEYS
 $ pgpv apache-activemq-lt;versiongt;-bin.tar.gz.asc
 ]]/script
-/div/div
-or
-div class=code panel pdl style=border-width: 1px;div class=codeContent 
panelContent pdl
-script class=theme: Default; brush: java; gutter: false 
type=syntaxhighlighter![CDATA[
-$ pgp -ka KEYS
+/div/divpor/pdiv class=code panel pdl style=border-width: 
1px;div class=codeContent panelContent pdl
+script class=theme: Default; brush: java; gutter: false 
type=syntaxhighlighter![CDATA[$ pgp -ka KEYS
 $ pgp apache-activemq-lt;versiongt;-bin.tar.gz.asc
 ]]/script
-/div/div
-or
-div class=code panel pdl style=border-width: 1px;div class=codeContent 
panelContent pdl
-script class=theme: Default; brush: java; gutter: false 
type=syntaxhighlighter![CDATA[
-$ gpg --import KEYS
+/div/divpor/pdiv class=code panel pdl style=border-width: 
1px;div class=codeContent panelContent pdl
+script class=theme: Default; brush: java; gutter: false 
type=syntaxhighlighter![CDATA[$ gpg --import KEYS
 $ gpg --verify apache-activemq-lt;versiongt;-bin.tar.gz.asc
 ]]/script
-/div/div/li/ol
-
-
-p(Where lt;versiongt; is replaced with the actual version, e.g., 5.1.0, 
5.2.0, etc.). /p
-
-pAlternatively, you can verify the MD5 signature on the files. A Unix 
program called codemd5/code or codemd5sum/code is included in most 
Linux and Unix distributions. It is also available as part of a shape=rect 
class=external-link 
href=http://www.gnu.org/software/textutils/textutils.html; rel=nofollowGNU 
Textutils/a. Windows users can utilize any of the following md5 programs: /p
-
-ullia shape=rect class=external-link 
href=http://www.fourmilab.ch/md5/; rel=nofollowmd5/a/lilia 
shape=rect class=external-link 
href=http://www.pc-tools.net/win32/md5sums/; 
rel=nofollowmd5sums/a/lilia shape=rect class=external-link 
href=http://www.slavasoft.com/fsum/; rel=nofollowSlavaSoft 
FSUM/a/li/ul
+/div/div/li/olp(Where lt;versiongt; is replaced with the actual 
version, e.g., 5.1.0, 5.2.0, etc.)./ppAlternatively, you can verify the MD5 
signature on the files. A Unix program called codemd5/code or 
codemd5sum/code is included in most Linux and Unix distributions. It is 
also available as part of a shape=rect class=external-link 
href=http://www.gnu.org/software/textutils/textutils.html; rel=nofollowGNU 
Textutils/a. Windows users can utilize any of the following md5 
programs:/pullia shape=rect class=external-link 
href=http://www.fourmilab.ch/md5/; rel=nofollowmd5/a/lilia 
shape=rect class=external-link 
href=http://www.pc-tools.net/win32/md5sums/; 
rel=nofollowmd5sums/a/lilia shape=rect class=external-link 
href=http://www.slavasoft.com/fsum/; rel=nofollowSlavaSoft 
FSUM/a/li/ul
 
 div 

git commit: https://issues.apache.org/jira/browse/AMQ-5195

2014-05-23 Thread tabish
Repository: activemq
Updated Branches:
  refs/heads/trunk 9b6f419d4 - ba519d8bd


https://issues.apache.org/jira/browse/AMQ-5195

Use largest incoming capaity value, broker will do flow control based on
destination policies. 

Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/ba519d8b
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/ba519d8b
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/ba519d8b

Branch: refs/heads/trunk
Commit: ba519d8bd3e1f17d5885a48da0b58999eebd2e12
Parents: 9b6f419
Author: Timothy Bish tabish...@gmail.com
Authored: Fri May 23 11:26:55 2014 -0400
Committer: Timothy Bish tabish...@gmail.com
Committed: Fri May 23 11:26:55 2014 -0400

--
 .../org/apache/activemq/transport/amqp/AmqpProtocolConverter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/activemq/blob/ba519d8b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
--
diff --git 
a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
 
b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
index 36a41e6..f8e5686 100644
--- 
a/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
+++ 
b/activemq-amqp/src/main/java/org/apache/activemq/transport/amqp/AmqpProtocolConverter.java
@@ -464,7 +464,7 @@ class AmqpProtocolConverter implements 
IAmqpProtocolConverter {
 AmqpSessionContext sessionContext = new 
AmqpSessionContext(connectionId, nextSessionId++);
 session.setContext(sessionContext);
 sendToActiveMQ(new SessionInfo(sessionContext.sessionId), null);
-session.setIncomingCapacity(AmqpWireFormat.DEFAULT_MAX_FRAME_SIZE * 
prefetch);
+session.setIncomingCapacity(Integer.MAX_VALUE);
 session.open();
 }
 



svn commit: r1597145 - in /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk: src/main/csharp/MessageConsumer.cs src/main/csharp/Session.cs src/test/csharp/MessageConsumerTest.cs vs2008-stomp-test.cspro

2014-05-23 Thread jgomes
Author: jgomes
Date: Fri May 23 18:26:34 2014
New Revision: 1597145

URL: http://svn.apache.org/r1597145
Log:
Copy the ignoreExpiration implementation from the OpenWire provider.
Fixes [AMQNET-478]. (See https://issues.apache.org/jira/browse/AMQNET-478)

Added:

activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/test/csharp/MessageConsumerTest.cs
Modified:

activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/MessageConsumer.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Session.cs
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/vs2008-stomp-test.csproj

Modified: 
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/MessageConsumer.cs
URL: 
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/MessageConsumer.cs?rev=1597145r1=1597144r2=1597145view=diff
==
--- 
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/MessageConsumer.cs
 (original)
+++ 
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/MessageConsumer.cs
 Fri May 23 18:26:34 2014
@@ -15,6 +15,7 @@
  * limitations under the License.
  */
 using System;
+using System.Collections.Specialized;
 using System.Threading;
 using System.Collections.Generic;
 using Apache.NMS.Stomp.Commands;
@@ -58,14 +59,45 @@ namespace Apache.NMS.Stomp
 private IRedeliveryPolicy redeliveryPolicy;
 private Exception failureError;
 
-// Constructor internal to prevent clients from creating an instance.
-internal MessageConsumer(Session session, ConsumerInfo info)
+   // Constructor internal to prevent clients from creating an 
instance.
+internal MessageConsumer(Session session, ConsumerId id, Destination 
destination, string name, string selector, int prefetch, bool noLocal)
 {
-this.session = session;
-this.info = info;
+   if(destination == null)
+   {
+   throw new InvalidDestinationException(Consumer 
cannot receive on Null Destinations.);
+   }
+   
+   this.session = session;
 this.redeliveryPolicy = this.session.Connection.RedeliveryPolicy;
 this.messageTransformation = 
this.session.Connection.MessageTransformation;
-}
+
+   this.info = new ConsumerInfo();
+   this.info.ConsumerId = id;
+   this.info.Destination = 
Destination.Transform(destination);
+   this.info.SubscriptionName = name;
+   this.info.Selector = selector;
+   this.info.PrefetchSize = prefetch;
+   this.info.MaximumPendingMessageLimit = 
session.Connection.PrefetchPolicy.MaximumPendingMessageLimit;
+   this.info.NoLocal = noLocal;
+   this.info.DispatchAsync = session.DispatchAsync;
+   this.info.Retroactive = session.Retroactive;
+   this.info.Exclusive = session.Exclusive;
+   this.info.Priority = session.Priority;
+   this.info.AckMode = session.AcknowledgementMode;
+
+   // If the destination contained a URI query, then use 
it to set public properties
+   // on the ConsumerInfo
+   if(destination.Options != null)
+   {
+   // Get options prefixed with consumer.*
+   StringDictionary options = 
URISupport.GetProperties(destination.Options, consumer.);
+   // Extract out custom extension options 
consumer.nms.*
+   StringDictionary customConsumerOptions = 
URISupport.ExtractProperties(options, nms.);
+
+   URISupport.SetProperties(this.info, options);
+   URISupport.SetProperties(this, 
customConsumerOptions, nms.);
+   }
+   }
 
 ~MessageConsumer()
 {
@@ -79,7 +111,12 @@ namespace Apache.NMS.Stomp
 get { return info.ConsumerId; }
 }
 
-public int PrefetchSize
+   public ConsumerInfo ConsumerInfo
+   {
+   get { return this.info; }
+   }
+   
+   public int PrefetchSize
 {
 get { return this.info.PrefetchSize; }
 }
@@ -90,18 +127,26 @@ namespace Apache.NMS.Stomp
 set { this.redeliveryPolicy = value; }
 }
 
-private ConsumerTransformerDelegate consumerTransformer;
-public ConsumerTransformerDelegate ConsumerTransformer
-{
-get { return this.consumerTransformer; }
-set { this.consumerTransformer = value; }
-   

buildbot failure in ASF Buildbot on activemq-site-production

2014-05-23 Thread buildbot
The Buildbot has detected a new failure on builder activemq-site-production 
while building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/activemq-site-production/builds/775

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

BUILD FAILED: failed compile

sincerely,
 -The Buildbot





buildbot success in ASF Buildbot on activemq-site-production

2014-05-23 Thread buildbot
The Buildbot has detected a restored build on builder activemq-site-production 
while building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/activemq-site-production/builds/777

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-cms-slave

Build Reason: The Nightly scheduler named 'activemq-site-production' triggered 
this build
Build Source Stamp: [branch activemq/activemq-website] HEAD
Blamelist: 

Build succeeded!

sincerely,
 -The Buildbot