Jenkins build is back to normal : ActiveMQ-Artemis-Master #1611

2018-02-05 Thread Apache Jenkins Server
See 




Build failed in Jenkins: ActiveMQ-Artemis-Master #1610

2018-02-05 Thread Apache Jenkins Server
See 


--
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H22 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/activemq-artemis.git # timeout=10
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/activemq-artemis.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:825)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1092)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1123)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1202)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1724)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:421)
Caused by: hudson.plugins.git.GitException: Command "git config 
remote.origin.url https://git-wip-us.apache.org/repos/asf/activemq-artemis.git; 
returned status code 4:
stdout: 
stderr: error: failed to write new configuration file 


at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1970)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1938)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1934)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1572)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1584)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setRemoteUrl(CliGitAPIImpl.java:1218)
at hudson.plugins.git.GitAPI.setRemoteUrl(GitAPI.java:160)
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:922)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:896)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:853)
at hudson.remoting.UserRequest.perform(UserRequest.java:207)
at hudson.remoting.UserRequest.perform(UserRequest.java:53)
at hudson.remoting.Request$2.run(Request.java:358)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
H22
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
at hudson.remoting.Channel.call(Channel.java:908)
at 
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:281)
at com.sun.proxy.$Proxy110.setRemoteUrl(Unknown Source)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl.setRemoteUrl(RemoteGitImpl.java:295)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:813)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1092)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1123)
at hudson.scm.SCM.checkout(SCM.java:495)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1202)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1724)
at 

Build failed in Jenkins: ActiveMQ-Artemis-Master #1609

2018-02-05 Thread Apache Jenkins Server
See 


--
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H22 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/activemq-artemis.git # timeout=10
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/activemq-artemis.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:825)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1092)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1123)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1202)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1724)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:421)
Caused by: hudson.plugins.git.GitException: Command "git config 
remote.origin.url https://git-wip-us.apache.org/repos/asf/activemq-artemis.git; 
returned status code 4:
stdout: 
stderr: error: failed to write new configuration file 


at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1970)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1938)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1934)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1572)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1584)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.setRemoteUrl(CliGitAPIImpl.java:1218)
at hudson.plugins.git.GitAPI.setRemoteUrl(GitAPI.java:160)
at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:922)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:896)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:853)
at hudson.remoting.UserRequest.perform(UserRequest.java:207)
at hudson.remoting.UserRequest.perform(UserRequest.java:53)
at hudson.remoting.Request$2.run(Request.java:358)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
H22
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
at hudson.remoting.Channel.call(Channel.java:908)
at 
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:281)
at com.sun.proxy.$Proxy110.setRemoteUrl(Unknown Source)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl.setRemoteUrl(RemoteGitImpl.java:295)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:813)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1092)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1123)
at hudson.scm.SCM.checkout(SCM.java:495)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1202)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 
jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1724)
at 

[2/2] activemq-artemis git commit: Avoid NPE when setting null address

2018-02-05 Thread michaelpearce
Avoid NPE when setting null address


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

Branch: refs/heads/master
Commit: f09ee40b538ec739b745cb9678131cf706fb1f08
Parents: 9c40a51
Author: Justin Bertram 
Authored: Fri Feb 2 16:05:20 2018 -0600
Committer: Michael Pearce 
Committed: Tue Feb 6 03:16:53 2018 +

--
 .../apache/activemq/artemis/core/message/impl/CoreMessage.java | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/f09ee40b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
--
diff --git 
a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
 
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
index 888b785..0fb7c3e 100644
--- 
a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
+++ 
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/CoreMessage.java
@@ -437,7 +437,11 @@ public class CoreMessage extends RefCountMessage 
implements ICoreMessage {
 
@Override
public CoreMessage setAddress(SimpleString address) {
-  if (validBuffer && !address.equals(this.address)) {
+  if (address == null && this.address == null) {
+ // no-op so just return
+ return this;
+  }
+  if (validBuffer && (address == null || !address.equals(this.address))) {
  messageChanged();
   }
   this.address = address;



[1/2] activemq-artemis git commit: This closes #1846

2018-02-05 Thread michaelpearce
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 9c40a514f -> 56e1df3c3


This closes #1846


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

Branch: refs/heads/master
Commit: 56e1df3c3a4d55643fc46eb242940a12f4d91b64
Parents: 9c40a51 f09ee40
Author: Michael Pearce 
Authored: Tue Feb 6 03:16:53 2018 +
Committer: Michael Pearce 
Committed: Tue Feb 6 03:16:53 2018 +

--
 .../apache/activemq/artemis/core/message/impl/CoreMessage.java | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)
--




Jenkins build is back to normal : ActiveMQ-Artemis-Master #1608

2018-02-05 Thread Apache Jenkins Server
See 




[2/2] activemq-artemis git commit: ARTEMIS-1649 - enable openssl provider for Netty

2018-02-05 Thread jbertram
ARTEMIS-1649 - enable openssl provider for Netty


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

Branch: refs/heads/master
Commit: 6501c3de1fc8d440923b241f95a4f7f0ead6a7c3
Parents: 9553de8
Author: rico.pahlisch 
Authored: Mon Feb 5 10:23:18 2018 +0100
Committer: Justin Bertram 
Committed: Mon Feb 5 14:42:04 2018 -0600

--
 .../remoting/impl/netty/NettyConnector.java | 175 +++
 .../remoting/impl/netty/TransportConstants.java |   8 +
 .../core/remoting/impl/ssl/SSLSupport.java  |  80 ++---
 .../core/remoting/impl/netty/NettyAcceptor.java | 106 +++
 docs/user-manual/en/configuring-transports.md   |  10 ++
 5 files changed, 252 insertions(+), 127 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/6501c3de/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java
--
diff --git 
a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java
 
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java
index 5874820..99d8447 100644
--- 
a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java
+++ 
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/remoting/impl/netty/NettyConnector.java
@@ -33,6 +33,7 @@ import java.util.Collections;
 import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
+import java.util.Objects;
 import java.util.concurrent.ConcurrentHashMap;
 import java.util.concurrent.ConcurrentMap;
 import java.util.concurrent.CountDownLatch;
@@ -40,6 +41,7 @@ import java.util.concurrent.Executor;
 import java.util.concurrent.ScheduledExecutorService;
 import java.util.concurrent.ScheduledFuture;
 import java.util.concurrent.TimeUnit;
+import java.util.stream.Stream;
 
 import javax.net.ssl.SSLContext;
 import javax.net.ssl.SSLEngine;
@@ -49,6 +51,7 @@ import javax.security.auth.login.LoginContext;
 
 import io.netty.bootstrap.Bootstrap;
 import io.netty.buffer.ByteBuf;
+import io.netty.buffer.ByteBufAllocator;
 import io.netty.buffer.Unpooled;
 import io.netty.channel.Channel;
 import io.netty.channel.ChannelDuplexHandler;
@@ -90,13 +93,13 @@ import io.netty.handler.codec.http.HttpVersion;
 import io.netty.handler.codec.http.LastHttpContent;
 import io.netty.handler.codec.http.cookie.ClientCookieDecoder;
 import io.netty.handler.codec.http.cookie.Cookie;
+import io.netty.handler.ssl.SslContext;
 import io.netty.handler.ssl.SslHandler;
 import io.netty.util.AttributeKey;
 import io.netty.util.ResourceLeakDetector;
 import io.netty.util.ResourceLeakDetector.Level;
 import io.netty.util.concurrent.Future;
 import io.netty.util.concurrent.GlobalEventExecutor;
-
 import org.apache.activemq.artemis.api.config.ActiveMQDefaultConfiguration;
 import org.apache.activemq.artemis.api.core.ActiveMQException;
 import org.apache.activemq.artemis.core.client.ActiveMQClientLogger;
@@ -216,6 +219,8 @@ public class NettyConnector extends AbstractConnector {
 
private String enabledProtocols;
 
+   private String sslProvider;
+
private boolean verifyHost;
 
private boolean trustAll;
@@ -354,6 +359,8 @@ public class NettyConnector extends AbstractConnector {
 
  trustAll = 
ConfigurationHelper.getBooleanProperty(TransportConstants.TRUST_ALL_PROP_NAME, 
TransportConstants.DEFAULT_TRUST_ALL, configuration);
 
+ sslProvider = 
ConfigurationHelper.getStringProperty(TransportConstants.SSL_PROVIDER, 
TransportConstants.DEFAULT_SSL_PROVIDER, configuration);
+
  sniHost = 
ConfigurationHelper.getStringProperty(TransportConstants.SNIHOST_PROP_NAME, 
TransportConstants.DEFAULT_SNIHOST_CONFIG, configuration);
 
  kerb5Config = 
ConfigurationHelper.getStringProperty(TransportConstants.SSL_KRB5_CONFIG_PROP_NAME,
 TransportConstants.DEFAULT_SSL_KRB5_CONFIG, configuration);
@@ -484,67 +491,30 @@ public class NettyConnector extends AbstractConnector {
   bootstrap.option(ChannelOption.SO_REUSEADDR, true);
   channelGroup = new DefaultChannelGroup("activemq-connector", 
GlobalEventExecutor.INSTANCE);
 
-  final SSLContext context;
-  if (sslEnabled) {
- try {
-if (useDefaultSslContext) {
-   context = SSLContext.getDefault();
-} else {
-   // HORNETQ-680 - override the server-side config if client-side 
system properties are set
-

[1/2] activemq-artemis git commit: This closes #1834

2018-02-05 Thread jbertram
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 9553de82b -> 9c40a514f


This closes #1834


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

Branch: refs/heads/master
Commit: 9c40a514f26c28b591516fa89f761740f1bc29dd
Parents: 9553de8 6501c3d
Author: Justin Bertram 
Authored: Mon Feb 5 14:42:04 2018 -0600
Committer: Justin Bertram 
Committed: Mon Feb 5 14:42:04 2018 -0600

--
 .../remoting/impl/netty/NettyConnector.java | 175 +++
 .../remoting/impl/netty/TransportConstants.java |   8 +
 .../core/remoting/impl/ssl/SSLSupport.java  |  80 ++---
 .../core/remoting/impl/netty/NettyAcceptor.java | 106 +++
 docs/user-manual/en/configuring-transports.md   |  10 ++
 5 files changed, 252 insertions(+), 127 deletions(-)
--




Build failed in Jenkins: ActiveMQ-Artemis-Master #1607

2018-02-05 Thread Apache Jenkins Server
See 


Changes:

[mtaylor] ARTEMIS-1658 Fix Typo in ActivationSpec

--
[...truncated 1.69 MB...]
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/activemq/activemq-branding/2.5.0-SNAPSHOT/activemq-branding-2.5.0-SNAPSHOT-sources.jar
[INFO] 
[INFO] 
[INFO] Building ActiveMQ Artemis HawtIO Plugin 2.5.0-SNAPSHOT
[INFO] 
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-maven) @ artemis-plugin 
---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4:enforce (enforce-java) @ artemis-plugin ---
[INFO] 
[INFO] --- maven-antrun-plugin:1.7:run (generate-sources) @ artemis-plugin ---
[INFO] Executing tasks

main:
 [echo] Building plugin javascript file list
 [echo] Files: 
plugin/js/address.js,plugin/js/addresses.js,plugin/js/artemisHelpers.js,plugin/js/artemisPlugin.js,plugin/js/artemisService.js,plugin/js/brokerDiagram.js,plugin/js/browse.js,plugin/js/connections.js,plugin/js/consumers.js,plugin/js/jmsHeaderSchema.js,plugin/js/preferences.js,plugin/js/producers.js,plugin/js/queue.js,plugin/js/queues.js,plugin/js/send.js,plugin/js/sessions.js,plugin/js/tree.js,plugin/lib/artemis-console.js
[INFO] Executed tasks
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (copy-resources) @ 
artemis-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ artemis-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ 
artemis-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ artemis-plugin 
---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to 

[INFO] 
[INFO] --- maven-checkstyle-plugin:2.17:check (default) @ artemis-plugin ---
[INFO] Starting audit...
Audit done.
[INFO] 
[INFO] --- apache-rat-plugin:0.12:check (default) @ artemis-plugin ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: **/footer.html
[INFO] Exclude: **/*.txt
[INFO] Exclude: **/*.md
[INFO] Exclude: etc/ide-settings/**
[INFO] Exclude: docs/**/*.json
[INFO] Exclude: docs/**/_book/
[INFO] Exclude: **/target/
[INFO] Exclude: **/META-INF/services/*
[INFO] Exclude: **/META-INF/MANIFEST.MF
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.jceks
[INFO] Exclude: **/*.jks
[INFO] Exclude: **/org/apache/activemq/artemis/utils/json/**
[INFO] Exclude: **/org/apache/activemq/artemis/utils/Base64.java
[INFO] Exclude: **/.settings/**
[INFO] Exclude: **/.project
[INFO] Exclude: **/.classpath
[INFO] Exclude: **/.editorconfig
[INFO] Exclude: **/.checkstyle
[INFO] Exclude: **/.factorypath
[INFO] Exclude: **/org.apache.activemq.artemis.cfg
[INFO] Exclude: **/nb-configuration.xml
[INFO] Exclude: **/*.data
[INFO] Exclude: **/*.bin
[INFO] Exclude: **/src/test/resources/keystore
[INFO] Exclude: **/*.log
[INFO] Exclude: **/*.redo
[INFO] Exclude: **/node/**
[INFO] Exclude: **/node_modules/**
[INFO] Exclude: **/package.json
[INFO] Exclude: **/npm-shrinkwrap.json
[INFO] Exclude: **/overlays/**
[INFO] Exclude: **/CMakeFiles/
[INFO] Exclude: **/Makefile
[INFO] Exclude: **/cmake_install.cmake
[INFO] Exclude: 
artemis-native/src/main/c/org_apache_activemq_artemis_jlibaio_LibaioContext.h
[INFO] Exclude: **/dependency-reduced-pom.xml
[INFO] 37 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 37 licenses.
[INFO] 
[INFO] --- maven-bundle-plugin:3.0.1:manifest (bundle-manifest) @ 
artemis-plugin ---
[WARNING] Manifest org.apache.activemq:artemis-plugin:war:2.5.0-SNAPSHOT : No 
sub JAR or directory WEB-INF/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ 
artemis-plugin ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ 
artemis-plugin ---
[INFO] No sources to compile
[INFO] 

Build failed in Jenkins: ActiveMQ-Artemis-Master #1606

2018-02-05 Thread Apache Jenkins Server
See 


--
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H22 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/activemq-artemis.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from 
https://git-wip-us.apache.org/repos/asf/activemq-artemis.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:825)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1092)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1123)
at hudson.scm.SCM.checkout(SCM.java:495)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1202)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1724)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:421)
Caused by: hudson.plugins.git.GitException: Command "git reset --hard" returned 
status code 128:
stdout: 
stderr: fatal: Could not write new index file.

at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1970)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1938)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1934)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:1572)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.reset(CliGitAPIImpl.java:438)
at 
org.jenkinsci.plugins.gitclient.CliGitAPIImpl.clean(CliGitAPIImpl.java:761)
at hudson.plugins.git.GitAPI.clean(GitAPI.java:311)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:922)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:896)
at 
hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:853)
at hudson.remoting.UserRequest.perform(UserRequest.java:207)
at hudson.remoting.UserRequest.perform(UserRequest.java:53)
at hudson.remoting.Request$2.run(Request.java:358)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to 
H22
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1693)
at hudson.remoting.UserResponse.retrieve(UserRequest.java:310)
at hudson.remoting.Channel.call(Channel.java:908)
at 
hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:281)
at com.sun.proxy.$Proxy110.clean(Unknown Source)
at 
org.jenkinsci.plugins.gitclient.RemoteGitImpl.clean(RemoteGitImpl.java:450)
at 
hudson.plugins.git.extensions.impl.CleanBeforeCheckout.decorateFetchCommand(CleanBeforeCheckout.java:30)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:821)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1092)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1123)
at hudson.scm.SCM.checkout(SCM.java:495)
at 
hudson.model.AbstractProject.checkout(AbstractProject.java:1202)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at 

svn commit: r1024889 - in /websites/production/activemq/content: activemq-5153-release.html cache/main.pageCache download.html index.html overview.html

2018-02-05 Thread buildbot
Author: buildbot
Date: Mon Feb  5 19:23:55 2018
New Revision: 1024889

Log:
Production update by buildbot for activemq

Added:
websites/production/activemq/content/activemq-5153-release.html
Modified:
websites/production/activemq/content/cache/main.pageCache
websites/production/activemq/content/download.html
websites/production/activemq/content/index.html
websites/production/activemq/content/overview.html

Added: websites/production/activemq/content/activemq-5153-release.html
==
--- websites/production/activemq/content/activemq-5153-release.html (added)
+++ websites/production/activemq/content/activemq-5153-release.html Mon Feb  5 
19:23:55 2018
@@ -0,0 +1,190 @@
+http://www.w3.org/TR/html4/loose.dtd;>
+
+
+
+http://activemq.apache.org/styles/site.css; rel="stylesheet" 
type="text/css"/>
+http://activemq.apache.org/styles/type-settings.css; 
rel="stylesheet" type="text/css"/>
+http://activemq.apache.org/styles/prototype.js"; 
type="text/javascript">
+http://activemq.apache.org/styles/rico.js"; 
type="text/javascript">
+http://activemq.apache.org/styles/site.js"; 
type="text/javascript">
+
+  .maincontent { overflow:hidden; }
+
+
+
+   
+   
+   
+   
+   
+   
+ 
+   
+SyntaxHighlighter.defaults['toolbar'] = false; 
+SyntaxHighlighter.all(); 
+   
+
+
+Apache ActiveMQ  -- ActiveMQ 5.15.3 Release
+
+
+
+
+
+  
+
+
+  
+
+
+  
+
+  
+
+
+
+   
+ http://activemq.apache.org; 
title="The most popular and powerful open source Message Broker">ActiveMQ
+http://www.apache.org; title="The 
Apache Software Foundation">ASF
+   
+
+
+
+  
+OverviewDownloadActiveMQ 5.15.3 Release
+  
+  
+Download | http://activemq.apache.org/maven/apidocs/index.html;>JavaDocs More... | Source | Forums | Support
+  
+
+
+  
+  
+
+
+http://activemq.apache.org/activemq-500-release.data/activemq-5.x-box-reflection.png;
 
data-image-src="http://activemq.apache.org/activemq-500-release.data/activemq-5.x-box-reflection.png;>
+
+
+ActiveMQ 
5.15.3 ReleaseApache ActiveMQ 5.15.3 includes several resolvedhttps://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311210version=12341947;>issuesand
 bug fixes.Getting the Binary 
DistributionsDescriptionDownload LinkVerifyWindows Distributionhttp://www.apache.org/dyn/closer.cgi?filename=/activemq/5.15.3/apache-activemq-5.15.3-bin.zipac
 tion=download">apache-activemq-5.15.3-bin.ziphttps://www.apache.org/dist/activemq/5.15.3/apache-activemq-5.15.3-bin.zip.asc;>ASC,
 https://www.apache.org/dist/activemq/5.15.3/apache-activemq-5.15.3-bin.zip.md5;>MD5,
 https://www.apache.org/dist/activemq/5.15.3/apache-activemq-5.15.3-bin.zip.sha512;>SHA512Unix/Linux/Cygwin 
Distributionhttp://www.apache.org/dyn/closer.cgi?filename=/activemq/5.15.3/apache-activemq-5.15.3-bin.tar.gzaction=download;>apache-activemq-5.15.3-bin.tar.gzhttps://www.apache.
 org/dist/activemq/5.15.3/apache-activemq-5.15.3-bin.tar.gz.asc">ASC, https://www.apache.org/dist/activemq/5.15.3/apache-activemq-5.15.3-bin.tar.gz.md5;>MD5,
 https://www.apache.org/dist/activemq/5.15.3/apache-activemq-5.15.3-bin.tar.gz.sha512;>SHA512Verify the Integrity 
of DownloadsIt 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:Download 
the http://www.apache.org/dist/activemq/KEYS;>KEYSDownload the 
asc signature file for the relevant distributionVerify the 
signatures using the following commands, depending on your use of PGP or 
GPG:
+$ pgpk -a KEYS
+$ pgpv apache-activemq-version-bin.tar.gz.asc
+
+or
+$ pgp -ka KEYS
+$ pgp apache-activemq-version-bin.tar.gz.asc
+
+or
+$ gpg --import KEYS
+$ gpg --verify apache-activemq-version-bin.tar.gz.asc
+
+(Where version is replaced with the actual 
version, e.g., 5.1.0, 5.2.0, etc.).Alternatively, you can verify the MD5 
signature on the files. A Unix program called md5 or 
md5sum is included in most Linux and Unix distributions. It is 
also available as part of http://www.gnu.org/software/textutils/textutils.html; rel="nofollow">GNU 
Textutils. Windows users can utilize any of the following md5 
programs:http://www.fourmilab.ch/md5/; rel="nofollow">md5http://www.pc-tools.net/win32/md5sums/; 
rel="nofollow">md5sumshttp://www.slavasoft.com/fsum/; rel="nofollow">SlavaSoft 
FSUMGetting the Binaries 
using Maven 3To use this release in 
 your maven project, the simplest dependency that you can use in yourhttp://maven.apache.org/guides/introduction/introduction-to-the-pom.html;>Maven
 POMis:
+dependency
+  groupIdorg.apache.activemq/groupId
+  artifactIdactivemq-all/artifactId
+  version5.15.3/version
+/dependency
+
+If you need 

[CONF] Apache ActiveMQ > Download

2018-02-05 Thread Christopher L. Shannon (Confluence)
Title: Message Title



 
 
 
 
 
 
 

Christopher L. Shannon edited a page 
 
 
  
 
 
 
 
 
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Download 
 
 
  
 
 
 
 
 
 
 ... 
 
 
 
 Section 
 
 
 
 
 
 
 
 
 Column 
 
 
 
 
 
 
 
 
width 
20% 
 
 
  
 
 
 
 
 
 
 
 
div 
 
 
 
 
 
 
 
 
style 
padding-right:20px;float:left; 
 
 
  
 
 
 
 
    
 
 
  
 
 
 
 
 
 
 Column 
 
 
 
 
 
 
 
 
width 
80% 
 
 
  
 
 
 
 
 
 
 
 
div 
 
 
 
 
 
 
 
 
style 
min-height:200px 
 
 
  
 
 
 
 
 The latest stable release is the ActiveMQ 5.15.2 3 Release   
 
 
  
 
 
  
 
 
 Getting past releases See the Download Archives for all time releases. ...  
 
 
  
 
 
 
 
 
 
 
 
 
 

View page
• 
 
 
 
 
 
 

Like 
 
 
  
 
 
  
 
 
  
 
 
  
 
 
 
 
 
 
 
 
 
 
Stop watching space
• 
 
 
 
 
 
 
Manage notifications 
 
 
 
 
 
 
 
 
 
 
  
 
 
This message was sent by Atlassian Confluence 5.8.17  
 
 
  
 
 
 
 
 
 
 
 
 




[CONF] Apache ActiveMQ > Index

2018-02-05 Thread Christopher L. Shannon (Confluence)
Title: Message Title



 
 
 
 
 
 
 

Christopher L. Shannon edited a page 
 
 
  
 
 
 
 
 
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Index 
 
 
  
 
 
 
 
 
 
  Download ActiveMQ 5.15.  ...  3 Today!   Apache ActiveMQ ™ is the most popular and powerful open source messaging and Integration Patterns server. ...  
 
 
  
 
 
 
 
 
 
 
 
 
 

View page
• 
 
 
 
 
 
 

Like 
 
 
  
 
 
  
 
 
  
 
 
  
 
 
 
 
 
 
 
 
 
 
Stop watching space
• 
 
 
 
 
 
 
Manage notifications 
 
 
 
 
 
 
 
 
 
 
  
 
 
This message was sent by Atlassian Confluence 5.8.17  
 
 
  
 
 
 
 
 
 
 
 
 




[CONF] Apache ActiveMQ > ActiveMQ 5.15.3 Release

2018-02-05 Thread Christopher L. Shannon (Confluence)
Title: Message Title



 
 
 
 
 
 
 

Christopher L. Shannon edited a page 
 
 
  
 
 
 
 
 
 
 
  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ActiveMQ 5.15.3 Release 
 
 
  
 
 
 
 
 
 
 ... 
 
 
 
 Code Block 
 
 
 
 
 
 
 
 
 
xml 
 
 
 
xml 
 
 
  
 
 
 
 
 
  org.apache.activemq
  activemq-all
  5.15.2<3

  
 
 
 If you need more fine grained control of your dependencies (activemq-all is an uber jar) pick and choose from the various components activemq-client, activemq-broker, activemq-xx-store etc. ...  
 
 
  
 
 
 
 
 
 
 
 
 
 

View page
• 
 
 
 
 
 
 

Like 
 
 
  
 
 
  
 
 
  
 
 
  
 
 
 
 
 
 
 
 
 
 
Stop watching space
• 
 
 
 
 
 
 
Manage notifications 
 
 
 
 
 
 
 
 
 
 
  
 
 
This message was sent by Atlassian Confluence 5.8.17  
 
 
  
 
 
 
 
 
 
 
 
 




activemq-artemis git commit: ARTEMIS-1658 Fix Typo in ActivationSpec

2018-02-05 Thread martyntaylor
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 485400960 -> 9553de82b


ARTEMIS-1658 Fix Typo in ActivationSpec


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

Branch: refs/heads/master
Commit: 9553de82bb3e5bf6707b1aa13f4436d2ca519d3b
Parents: 4854009
Author: Martyn Taylor 
Authored: Mon Feb 5 18:39:19 2018 +
Committer: Martyn Taylor 
Committed: Mon Feb 5 18:39:19 2018 +

--
 .../apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/9553de82/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
--
diff --git 
a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
 
b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
index 901135d..1252486 100644
--- 
a/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
+++ 
b/artemis-ra/src/main/java/org/apache/activemq/artemis/ra/inflow/ActiveMQActivationSpec.java
@@ -935,7 +935,7 @@ public class ActiveMQActivationSpec extends 
ConnectionFactoryProperties implemen
   result = 31 * result + (setupAttempts != null ? setupAttempts.hashCode() 
: 0);
   result = 31 * result + (setupInterval != null ? setupInterval.hashCode() 
: 0);
   result = 31 * result + (queuePrefix != null ? queuePrefix.hashCode() : 
0);
-  result = 31 * result + (topicPrefix != null ? queuePrefix.hashCode() : 
0);
+  result = 31 * result + (topicPrefix != null ? topicPrefix.hashCode() : 
0);
   return result;
}
 }



[2/2] activemq-artemis git commit: ARTEMIS-1611 Added support for 1.x transformer API

2018-02-05 Thread michaelpearce
ARTEMIS-1611 Added support for 1.x transformer API


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

Branch: refs/heads/master
Commit: 7576b9d5866e077d6eb6cba0ab035dbe09527ff4
Parents: c3ea288
Author: Martyn Taylor 
Authored: Mon Jan 15 16:36:01 2018 +
Committer: Michael Pearce 
Committed: Mon Feb 5 16:32:03 2018 +

--
 .../activemq/artemis/utils/TypedProperties.java |   5 +
 .../artemis/core/message/BodyEncoder.java   |  51 ++
 .../core/message/impl/MessageInternal.java  |  58 ++
 .../core/message/impl/MessageInternalImpl.java  | 698 +++
 .../artemis/core/server/ServerMessage.java  |  57 ++
 .../core/server/cluster/Transformer.java|  17 +-
 .../server/transformer/ServerMessageImpl.java   | 193 +
 .../integration/cluster/bridge/BridgeTest.java  |   7 +-
 8 files changed, 1084 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/7576b9d5/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/TypedProperties.java
--
diff --git 
a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/TypedProperties.java
 
b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/TypedProperties.java
index 29cf834..05b401b 100644
--- 
a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/TypedProperties.java
+++ 
b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/TypedProperties.java
@@ -23,4 +23,9 @@ package org.apache.activemq.artemis.utils;
 @Deprecated
 public class TypedProperties extends 
org.apache.activemq.artemis.utils.collections.TypedProperties {
 
+   public TypedProperties() { }
+
+   public TypedProperties(final 
org.apache.activemq.artemis.utils.collections.TypedProperties other) {
+  super(other);
+   }
 }

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/7576b9d5/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/BodyEncoder.java
--
diff --git 
a/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/BodyEncoder.java
 
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/BodyEncoder.java
new file mode 100644
index 000..b6c4092
--- /dev/null
+++ 
b/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/BodyEncoder.java
@@ -0,0 +1,51 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You 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.
+ */
+package org.apache.activemq.artemis.core.message;
+
+import java.nio.ByteBuffer;
+
+import org.apache.activemq.artemis.api.core.ActiveMQBuffer;
+import org.apache.activemq.artemis.api.core.ActiveMQException;
+
+@Deprecated
+public interface BodyEncoder {
+
+   /**
+* This method must not be called directly by ActiveMQ Artemis clients.
+*/
+   void open() throws ActiveMQException;
+
+   /**
+* This method must not be called directly by ActiveMQ Artemis clients.
+*/
+   void close() throws ActiveMQException;
+
+   /**
+* This method must not be called directly by ActiveMQ Artemis clients.
+*/
+   int encode(ByteBuffer bufferRead) throws ActiveMQException;
+
+   /**
+* This method must not be called directly by ActiveMQ Artemis clients.
+*/
+   int encode(ActiveMQBuffer bufferOut, int size) throws ActiveMQException;
+
+   /**
+* This method must not be called directly by ActiveMQ Artemis clients.
+*/
+   long getLargeBodySize();
+}

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/7576b9d5/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/message/impl/MessageInternal.java
--
diff --git 

[1/2] activemq-artemis git commit: This closes #1783

2018-02-05 Thread michaelpearce
Repository: activemq-artemis
Updated Branches:
  refs/heads/master c3ea288c6 -> 485400960


This closes #1783


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

Branch: refs/heads/master
Commit: 485400960fbab516569da9b0ca9d1331b5919f92
Parents: c3ea288 7576b9d
Author: Michael Pearce 
Authored: Mon Feb 5 16:32:03 2018 +
Committer: Michael Pearce 
Committed: Mon Feb 5 16:32:03 2018 +

--
 .../activemq/artemis/utils/TypedProperties.java |   5 +
 .../artemis/core/message/BodyEncoder.java   |  51 ++
 .../core/message/impl/MessageInternal.java  |  58 ++
 .../core/message/impl/MessageInternalImpl.java  | 698 +++
 .../artemis/core/server/ServerMessage.java  |  57 ++
 .../core/server/cluster/Transformer.java|  17 +-
 .../server/transformer/ServerMessageImpl.java   | 193 +
 .../integration/cluster/bridge/BridgeTest.java  |   7 +-
 8 files changed, 1084 insertions(+), 2 deletions(-)
--




[2/2] activemq-artemis git commit: ARTEMIS-1646 fix for browsing messages sent via JS client

2018-02-05 Thread michaelpearce
ARTEMIS-1646 fix for browsing messages sent via JS client


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

Branch: refs/heads/master
Commit: a259b6972c362dda01796ea3ec03289cb214
Parents: 5ed518f
Author: Stanislav Knot 
Authored: Wed Jan 31 09:37:31 2018 +0100
Committer: Michael Pearce 
Committed: Mon Feb 5 16:10:02 2018 +

--
 .../amqp/converter/jms/ServerJMSMapMessage.java | 17 -
 .../integration/amqp/AmqpManagementTest.java| 36 
 2 files changed, 52 insertions(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/a259b697/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/jms/ServerJMSMapMessage.java
--
diff --git 
a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/jms/ServerJMSMapMessage.java
 
b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/jms/ServerJMSMapMessage.java
index c904944..588b10e 100644
--- 
a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/jms/ServerJMSMapMessage.java
+++ 
b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/converter/jms/ServerJMSMapMessage.java
@@ -29,6 +29,10 @@ import org.apache.activemq.artemis.api.core.ICoreMessage;
 import org.apache.activemq.artemis.api.core.Message;
 import org.apache.activemq.artemis.api.core.SimpleString;
 import org.apache.activemq.artemis.utils.collections.TypedProperties;
+import org.apache.qpid.proton.amqp.UnsignedByte;
+import org.apache.qpid.proton.amqp.UnsignedInteger;
+import org.apache.qpid.proton.amqp.UnsignedLong;
+import org.apache.qpid.proton.amqp.UnsignedShort;
 
 import static org.apache.activemq.artemis.reader.MapMessageUtil.readBodyMap;
 import static org.apache.activemq.artemis.reader.MapMessageUtil.writeBodyMap;
@@ -122,7 +126,18 @@ public final class ServerJMSMapMessage extends 
ServerJMSMessage implements MapMe
@Override
public void setObject(final String name, final Object value) throws 
JMSException {
   try {
- TypedProperties.setObjectProperty(new SimpleString(name), value, map);
+ // primitives and String
+ Object val = value;
+ if (value instanceof UnsignedInteger) {
+val = ((UnsignedInteger) value).intValue();
+ } else if (value instanceof UnsignedShort) {
+val = ((UnsignedShort) value).shortValue();
+ } else if (value instanceof UnsignedByte) {
+val = ((UnsignedByte) value).byteValue();
+ } else if (value instanceof UnsignedLong) {
+val = ((UnsignedLong) value).longValue();
+ }
+ TypedProperties.setObjectProperty(new SimpleString(name), val, map);
   } catch (ActiveMQPropertyConversionException e) {
  throw new MessageFormatException(e.getMessage());
   }

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/a259b697/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpManagementTest.java
--
diff --git 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpManagementTest.java
 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpManagementTest.java
index 9b8ddfe..98b18e8 100644
--- 
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpManagementTest.java
+++ 
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/AmqpManagementTest.java
@@ -16,19 +16,27 @@
  */
 package org.apache.activemq.artemis.tests.integration.amqp;
 
+import java.util.LinkedHashMap;
 import java.util.concurrent.TimeUnit;
 
 import org.apache.activemq.artemis.api.core.management.ResourceNames;
+import 
org.apache.activemq.artemis.protocol.amqp.converter.jms.ServerJMSMapMessage;
 import org.apache.activemq.transport.amqp.client.AmqpClient;
 import org.apache.activemq.transport.amqp.client.AmqpConnection;
 import org.apache.activemq.transport.amqp.client.AmqpMessage;
 import org.apache.activemq.transport.amqp.client.AmqpReceiver;
 import org.apache.activemq.transport.amqp.client.AmqpSender;
 import org.apache.activemq.transport.amqp.client.AmqpSession;
+import 

[1/2] activemq-artemis git commit: This closes #1828

2018-02-05 Thread michaelpearce
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 5ed518f41 -> c3ea288c6


This closes #1828


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

Branch: refs/heads/master
Commit: c3ea288c62d7356908b2abab7e711dd2534d0cf7
Parents: 5ed518f a259b69
Author: Michael Pearce 
Authored: Mon Feb 5 16:10:02 2018 +
Committer: Michael Pearce 
Committed: Mon Feb 5 16:10:02 2018 +

--
 .../amqp/converter/jms/ServerJMSMapMessage.java | 17 -
 .../integration/amqp/AmqpManagementTest.java| 36 
 2 files changed, 52 insertions(+), 1 deletion(-)
--




Jenkins build is back to stable : ActiveMQ-Artemis-Master #1604

2018-02-05 Thread Apache Jenkins Server
See 




[2/4] activemq-artemis git commit: Merge remote-tracking branch 'johnpoth/ARTEMIS-1630'

2018-02-05 Thread gnodet
Merge remote-tracking branch 'johnpoth/ARTEMIS-1630'


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

Branch: refs/heads/master
Commit: 54c80aabcddd54d819226667278d853bcd825f8f
Parents: 2bba8cc cef1cc8
Author: Guillaume Nodet 
Authored: Mon Feb 5 11:03:47 2018 +0100
Committer: Guillaume Nodet 
Committed: Mon Feb 5 11:03:47 2018 +0100

--
 artemis-core-client-osgi/pom.xml| 113 +++
 .../src/main/resources/features.xml |  37 +++-
 artemis-jms-client-osgi/pom.xml | 123 
 artemis-server/pom.xml  |   7 +-
 pom.xml |   4 +
 tests/integration-tests/pom.xml |   2 -
 tests/karaf-client-integration-tests/pom.xml| 197 +++
 .../client/ArtemisAMQPClientFeatureIT.java  |  84 
 .../client/ArtemisCoreClientFeatureIT.java  |  84 
 .../karaf/client/ArtemisJMSClientFeatureIT.java |  84 
 .../ArtemisTransactionalJMSClientFeatureIT.java | 108 ++
 .../karaf/client/PaxExamOptions.java|  98 +
 tests/pom.xml   |   1 +
 13 files changed, 932 insertions(+), 10 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/54c80aab/pom.xml
--



[3/4] activemq-artemis git commit: [ARTEMIS-1630] Remove unused jboss-modules dependency

2018-02-05 Thread gnodet
[ARTEMIS-1630] Remove unused jboss-modules dependency


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

Branch: refs/heads/master
Commit: b635898253470118e3ae2e1bfdaaa8b069b45bcd
Parents: 54c80aa
Author: Guillaume Nodet 
Authored: Mon Feb 5 16:13:23 2018 +0100
Committer: Guillaume Nodet 
Committed: Mon Feb 5 16:13:23 2018 +0100

--
 artemis-core-client-osgi/pom.xml | 7 ---
 artemis-jms-client-osgi/pom.xml  | 7 ---
 artemis-server-osgi/pom.xml  | 7 ---
 3 files changed, 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b6358982/artemis-core-client-osgi/pom.xml
--
diff --git a/artemis-core-client-osgi/pom.xml b/artemis-core-client-osgi/pom.xml
index 21a3a0d..0011c68 100644
--- a/artemis-core-client-osgi/pom.xml
+++ b/artemis-core-client-osgi/pom.xml
@@ -42,13 +42,6 @@
  ${project.version}
   
   
- org.jboss.modules
- jboss-modules
- 1.3.1.Final
- provided
- true
-  
-  
  org.jboss.logmanager
  jboss-logmanager
  true

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b6358982/artemis-jms-client-osgi/pom.xml
--
diff --git a/artemis-jms-client-osgi/pom.xml b/artemis-jms-client-osgi/pom.xml
index d4a8d03..5f04f5e 100644
--- a/artemis-jms-client-osgi/pom.xml
+++ b/artemis-jms-client-osgi/pom.xml
@@ -52,13 +52,6 @@
  ${project.version}
   
   
- org.jboss.modules
- jboss-modules
- 1.3.1.Final
- provided
- true
-  
-  
  org.jboss.logmanager
  jboss-logmanager
  true

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/b6358982/artemis-server-osgi/pom.xml
--
diff --git a/artemis-server-osgi/pom.xml b/artemis-server-osgi/pom.xml
index d3fbb11..99816ae 100644
--- a/artemis-server-osgi/pom.xml
+++ b/artemis-server-osgi/pom.xml
@@ -77,13 +77,6 @@
  ${project.version}
   
   
- org.jboss.modules
- jboss-modules
- 1.3.1.Final
- provided
- true
-  
-  
  org.jboss.logmanager
  jboss-logmanager
  true



[4/4] activemq-artemis git commit: [ARTEMIS-1630] Move some versions to dependency management section

2018-02-05 Thread gnodet
[ARTEMIS-1630] Move some versions to dependency management section


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

Branch: refs/heads/master
Commit: 5ed518f41249b3898baf88d7ef4505b4bcd61a39
Parents: b635898
Author: Guillaume Nodet 
Authored: Mon Feb 5 16:13:44 2018 +0100
Committer: Guillaume Nodet 
Committed: Mon Feb 5 16:13:44 2018 +0100

--
 artemis-jms-client-osgi/pom.xml |  1 -
 artemis-selector/pom.xml|  2 --
 artemis-server-osgi/pom.xml |  3 ---
 artemis-website/pom.xml |  1 -
 pom.xml | 18 ++
 5 files changed, 18 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5ed518f4/artemis-jms-client-osgi/pom.xml
--
diff --git a/artemis-jms-client-osgi/pom.xml b/artemis-jms-client-osgi/pom.xml
index 5f04f5e..7477fba 100644
--- a/artemis-jms-client-osgi/pom.xml
+++ b/artemis-jms-client-osgi/pom.xml
@@ -76,7 +76,6 @@
   
  xalan
  xalan
- 2.7.2
  true
  provided
   

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5ed518f4/artemis-selector/pom.xml
--
diff --git a/artemis-selector/pom.xml b/artemis-selector/pom.xml
index f496b47..14652c1 100644
--- a/artemis-selector/pom.xml
+++ b/artemis-selector/pom.xml
@@ -35,13 +35,11 @@
   
  xml-apis
  xml-apis
- 2.0.2
  true
   
   
  xalan
  xalan
- 2.7.2
  true
   
   

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5ed518f4/artemis-server-osgi/pom.xml
--
diff --git a/artemis-server-osgi/pom.xml b/artemis-server-osgi/pom.xml
index 99816ae..1353365 100644
--- a/artemis-server-osgi/pom.xml
+++ b/artemis-server-osgi/pom.xml
@@ -101,20 +101,17 @@
   
  xalan
  xalan
- 2.7.2
  true
  provided
   
   
  junit
  junit
- 4.11
  test
   
   
  org.easymock
  easymock
- 3.2
  test
   
   

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5ed518f4/artemis-website/pom.xml
--
diff --git a/artemis-website/pom.xml b/artemis-website/pom.xml
index a858928..70b9e64 100644
--- a/artemis-website/pom.xml
+++ b/artemis-website/pom.xml
@@ -69,7 +69,6 @@
   
  xalan
  xalan
- 2.7.2
  true
  provided
   

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/5ed518f4/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 4931a00..0bec209 100644
--- a/pom.xml
+++ b/pom.xml
@@ -250,6 +250,12 @@
 
 
  
+ 
+org.easymock
+easymock
+3.2
+test
+ 
 
  
  
@@ -689,6 +695,18 @@
 
  
 
+ 
+ 
+xml-apis
+xml-apis
+2.0.2
+ 
+ 
+xalan
+xalan
+2.7.2
+ 
+
  
 org.apache.openwebbeans
 openwebbeans-impl



[1/4] activemq-artemis git commit: [ARTEMIS-1630] Create Artemis Client features

2018-02-05 Thread gnodet
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 2bba8cca5 -> 5ed518f41


[ARTEMIS-1630] Create Artemis Client features


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

Branch: refs/heads/master
Commit: cef1cc8f8df58f6121e8d8256edeaef365ae056e
Parents: 974bdd6
Author: jpoth 
Authored: Tue Jan 23 12:18:07 2018 +0100
Committer: jpoth 
Committed: Wed Jan 24 09:43:03 2018 +0100

--
 artemis-core-client-osgi/pom.xml| 113 +++
 .../src/main/resources/features.xml |  37 +++-
 artemis-jms-client-osgi/pom.xml | 123 
 artemis-server/pom.xml  |   7 +-
 pom.xml |   4 +
 tests/integration-tests/pom.xml |   2 -
 tests/karaf-client-integration-tests/pom.xml| 197 +++
 .../client/ArtemisAMQPClientFeatureIT.java  |  84 
 .../client/ArtemisCoreClientFeatureIT.java  |  84 
 .../karaf/client/ArtemisJMSClientFeatureIT.java |  84 
 .../ArtemisTransactionalJMSClientFeatureIT.java | 108 ++
 .../karaf/client/PaxExamOptions.java|  98 +
 tests/pom.xml   |   1 +
 13 files changed, 932 insertions(+), 10 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/cef1cc8f/artemis-core-client-osgi/pom.xml
--
diff --git a/artemis-core-client-osgi/pom.xml b/artemis-core-client-osgi/pom.xml
new file mode 100644
index 000..21a3a0d
--- /dev/null
+++ b/artemis-core-client-osgi/pom.xml
@@ -0,0 +1,113 @@
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
+   4.0.0
+
+   
+  org.apache.activemq
+  artemis-pom
+  2.5.0-SNAPSHOT
+   
+
+   artemis-core-client-osgi
+   bundle
+   ActiveMQ Artemis Client OSGi
+
+   
+  Combines the commons and core-client as they contain too many duplicate 
packages
+  to be deployed separately.
+   
+
+   
+  ${project.basedir}/..
+   
+
+   
+  
+ org.apache.activemq
+ artemis-commons
+ ${project.version}
+  
+  
+ org.apache.activemq
+ artemis-core-client
+ ${project.version}
+  
+  
+ org.jboss.modules
+ jboss-modules
+ 1.3.1.Final
+ provided
+ true
+  
+  
+ org.jboss.logmanager
+ jboss-logmanager
+ true
+ provided
+  
+  
+ org.jboss.logging
+ jboss-logging-processor
+ provided
+ true
+  
+  
+ org.jboss.logging
+ jboss-logging-annotations
+ provided
+ true
+  
+  
+ org.jboss.logging
+ jboss-logging
+  
+  
+ xalan
+ xalan
+ 2.7.2
+ true
+ provided
+  
+  
+ org.osgi
+ org.osgi.core
+ provided
+  
+  
+ org.osgi
+ osgi.cmpn
+ provided
+  
+   
+
+   
+  
+ 
+org.apache.felix
+maven-bundle-plugin
+true
+
+   
+  
*;scope=compile|runtime;groupId=org.apache.activemq
+  
+ io.netty.buffer;io.netty.*;version="[4.1,5)",
+ org.apache.johnzon.core,
+ *
+  
+  
<_exportcontents>org.apache.activemq.artemis.*;-noimport:=true
+   
+
+ 
+  
+   
+
+

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/cef1cc8f/artemis-features/src/main/resources/features.xml
--
diff --git a/artemis-features/src/main/resources/features.xml 
b/artemis-features/src/main/resources/features.xml
index 45094d5..92803ec 100644
--- a/artemis-features/src/main/resources/features.xml
+++ b/artemis-features/src/main/resources/features.xml
@@ -38,18 +38,13 @@

mvn:io.netty/netty-transport-native-epoll/${netty.version}

mvn:io.netty/netty-transport-native-kqueue/${netty.version}

mvn:io.netty/netty-transport-native-unix-common/${netty.version}
+   mvn:io.netty/netty-codec-http/${netty.version}

 
-   
+   
transaction
netty-core
-