ACTIVEMQ6-4 - Rename packages to ActiveMQ

https://issues.apache.org/jira/browse/ACTIVEMQ6-4

Repackage the modules, java source and maven poms to apache.activemq6
This commit is contained in:
Andy Taylor 2014-11-11 12:46:32 +00:00 committed by Martyn Taylor
parent 14352d993d
commit 23e8edd979
2451 changed files with 17625 additions and 17625 deletions

View File

@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-pom</artifactId>
<version>2.5.0-SNAPSHOT</version>
<groupId>org.apache.activemq6</groupId>
<artifactId>activemq6-pom</artifactId>
<version>6.0.0-SNAPSHOT</version>
</parent>
<artifactId>hornetq-bootstrap</artifactId>
<artifactId>activemq6-bootstrap</artifactId>
<packaging>jar</packaging>
<name>HornetQ Bootstrap</name>
<name>ActiveMQ6 Bootstrap</name>
<properties>
<hornetq.basedir>${project.basedir}/..</hornetq.basedir>
@ -18,18 +18,18 @@
<dependencies>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-server</artifactId>
<groupId>org.apache.activemq6</groupId>
<artifactId>activemq6-server</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-jms-server</artifactId>
<groupId>org.apache.activemq6</groupId>
<artifactId>activemq6-jms-server</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-dto</artifactId>
<groupId>org.apache.activemq6</groupId>
<artifactId>activemq6-dto</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.cli;
package org.apache.activemq6.cli;
public class ConfigurationException extends Exception
{

View File

@ -10,15 +10,15 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.cli;
package org.apache.activemq6.cli;
import io.airlift.command.Cli;
import io.airlift.command.ParseArgumentsUnexpectedException;
import org.hornetq.cli.commands.Action;
import org.hornetq.cli.commands.ActionContext;
import org.hornetq.cli.commands.HelpAction;
import org.hornetq.cli.commands.Run;
import org.hornetq.cli.commands.Stop;
import org.apache.activemq6.cli.commands.Action;
import org.apache.activemq6.cli.commands.ActionContext;
import org.apache.activemq6.cli.commands.HelpAction;
import org.apache.activemq6.cli.commands.Run;
import org.apache.activemq6.cli.commands.Stop;
import java.io.InputStream;
import java.io.OutputStream;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.cli.commands;
package org.apache.activemq6.cli.commands;
public interface Action
{

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.cli.commands;
package org.apache.activemq6.cli.commands;
import java.io.InputStream;
import java.io.PrintStream;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.cli.commands;
package org.apache.activemq6.cli.commands;
import io.airlift.command.Help;

View File

@ -10,25 +10,25 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.cli.commands;
package org.apache.activemq6.cli.commands;
import io.airlift.command.Arguments;
import io.airlift.command.Command;
import org.hornetq.cli.HornetQ;
import org.hornetq.core.config.Configuration;
import org.hornetq.core.server.impl.HornetQServerImpl;
import org.hornetq.dto.BrokerDTO;
import org.hornetq.factory.BrokerFactory;
import org.hornetq.factory.CoreFactory;
import org.hornetq.factory.JmsFactory;
import org.hornetq.factory.SecurityManagerFactory;
import org.hornetq.integration.bootstrap.HornetQBootstrapLogger;
import org.hornetq.jms.server.JMSServerManager;
import org.hornetq.jms.server.config.JMSConfiguration;
import org.hornetq.jms.server.impl.JMSServerManagerImpl;
import org.hornetq.jms.server.impl.StandaloneNamingServer;
import org.hornetq.spi.core.security.HornetQSecurityManager;
import org.apache.activemq6.cli.HornetQ;
import org.apache.activemq6.core.config.Configuration;
import org.apache.activemq6.core.server.impl.HornetQServerImpl;
import org.apache.activemq6.dto.BrokerDTO;
import org.apache.activemq6.factory.BrokerFactory;
import org.apache.activemq6.factory.CoreFactory;
import org.apache.activemq6.factory.JmsFactory;
import org.apache.activemq6.factory.SecurityManagerFactory;
import org.apache.activemq6.integration.bootstrap.HornetQBootstrapLogger;
import org.apache.activemq6.jms.server.JMSServerManager;
import org.apache.activemq6.jms.server.config.JMSConfiguration;
import org.apache.activemq6.jms.server.impl.JMSServerManagerImpl;
import org.apache.activemq6.jms.server.impl.StandaloneNamingServer;
import org.apache.activemq6.spi.core.security.HornetQSecurityManager;
import javax.management.MBeanServer;

View File

@ -10,12 +10,12 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.cli.commands;
package org.apache.activemq6.cli.commands;
import io.airlift.command.Arguments;
import io.airlift.command.Command;
import org.hornetq.dto.BrokerDTO;
import org.hornetq.factory.BrokerFactory;
import org.apache.activemq6.dto.BrokerDTO;
import org.apache.activemq6.factory.BrokerFactory;
import java.io.File;

View File

@ -10,11 +10,11 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.factory;
package org.apache.activemq6.factory;
import org.hornetq.cli.ConfigurationException;
import org.hornetq.dto.BrokerDTO;
import org.hornetq.utils.FactoryFinder;
import org.apache.activemq6.cli.ConfigurationException;
import org.apache.activemq6.dto.BrokerDTO;
import org.apache.activemq6.utils.FactoryFinder;
import java.io.IOException;
import java.net.URI;
@ -32,7 +32,7 @@ public class BrokerFactory
BrokerFactoryHandler factory = null;
try
{
FactoryFinder finder = new FactoryFinder("META-INF/services/org/hornetq/broker/");
FactoryFinder finder = new FactoryFinder("META-INF/services/org.apache.activemq6/broker/");
factory = (BrokerFactoryHandler)finder.newInstance(configURI.getScheme());
}
catch (IOException ioe )

View File

@ -10,9 +10,9 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.factory;
package org.apache.activemq6.factory;
import org.hornetq.dto.BrokerDTO;
import org.apache.activemq6.dto.BrokerDTO;
import java.net.URI;

View File

@ -10,13 +10,13 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.factory;
package org.apache.activemq6.factory;
import org.hornetq.cli.ConfigurationException;
import org.hornetq.core.config.Configuration;
import org.hornetq.core.config.impl.ConfigurationImpl;
import org.hornetq.dto.CoreDTO;
import org.hornetq.utils.FactoryFinder;
import org.apache.activemq6.cli.ConfigurationException;
import org.apache.activemq6.core.config.Configuration;
import org.apache.activemq6.core.config.impl.ConfigurationImpl;
import org.apache.activemq6.dto.CoreDTO;
import org.apache.activemq6.utils.FactoryFinder;
import java.io.IOException;
import java.net.URI;
@ -31,7 +31,7 @@ public class CoreFactory
URI configURI = new URI(core.configuration.replace("\\", "/"));
try
{
FactoryFinder finder = new FactoryFinder("META-INF/services/org/hornetq/broker/core/");
FactoryFinder finder = new FactoryFinder("META-INF/services/org.apache.activemq6/broker/core/");
factory = (CoreFactoryHandler)finder.newInstance(configURI.getScheme());
}
catch (IOException ioe )

View File

@ -10,9 +10,9 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.factory;
package org.apache.activemq6.factory;
import org.hornetq.core.config.Configuration;
import org.apache.activemq6.core.config.Configuration;
import java.net.URI;

View File

@ -10,10 +10,10 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.factory;
package org.apache.activemq6.factory;
import org.hornetq.core.config.Configuration;
import org.hornetq.core.config.impl.FileConfiguration;
import org.apache.activemq6.core.config.Configuration;
import org.apache.activemq6.core.config.impl.FileConfiguration;
import java.net.URI;

View File

@ -10,10 +10,10 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.factory;
package org.apache.activemq6.factory;
import org.hornetq.jms.server.config.JMSConfiguration;
import org.hornetq.jms.server.impl.JMSServerConfigParserImpl;
import org.apache.activemq6.jms.server.config.JMSConfiguration;
import org.apache.activemq6.jms.server.impl.JMSServerConfigParserImpl;
import java.io.FileInputStream;
import java.io.InputStream;

View File

@ -10,15 +10,15 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.factory;
package org.apache.activemq6.factory;
import java.io.IOException;
import java.net.URI;
import org.hornetq.cli.ConfigurationException;
import org.hornetq.dto.JmsDTO;
import org.hornetq.jms.server.config.JMSConfiguration;
import org.hornetq.utils.FactoryFinder;
import org.apache.activemq6.cli.ConfigurationException;
import org.apache.activemq6.dto.JmsDTO;
import org.apache.activemq6.jms.server.config.JMSConfiguration;
import org.apache.activemq6.utils.FactoryFinder;
public class JmsFactory
{
@ -30,7 +30,7 @@ public class JmsFactory
URI configURI = new URI(jms.configuration.replace("\\", "/"));
try
{
FactoryFinder finder = new FactoryFinder("META-INF/services/org/hornetq/broker/jms/");
FactoryFinder finder = new FactoryFinder("META-INF/services/org.apache.activemq6/broker/jms/");
factory = (JmsFactoryHandler)finder.newInstance(configURI.getScheme());
}
catch (IOException ioe )

View File

@ -10,9 +10,9 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.factory;
package org.apache.activemq6.factory;
import org.hornetq.jms.server.config.JMSConfiguration;
import org.apache.activemq6.jms.server.config.JMSConfiguration;
import java.net.URI;

View File

@ -10,11 +10,11 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.factory;
package org.apache.activemq6.factory;
import org.hornetq.dto.SecurityDTO;
import org.hornetq.spi.core.security.HornetQSecurityManager;
import org.hornetq.utils.FactoryFinder;
import org.apache.activemq6.dto.SecurityDTO;
import org.apache.activemq6.spi.core.security.HornetQSecurityManager;
import org.apache.activemq6.utils.FactoryFinder;
import javax.xml.bind.annotation.XmlRootElement;
@ -25,7 +25,7 @@ public class SecurityManagerFactory
{
if (config != null)
{
FactoryFinder finder = new FactoryFinder("META-INF/services/org/hornetq/security/");
FactoryFinder finder = new FactoryFinder("META-INF/services/org.apache.activemq6/security/");
HornetQSecurityManager manager = (HornetQSecurityManager)finder.newInstance(config.getClass().getAnnotation(XmlRootElement.class).name());
return manager;
}

View File

@ -10,11 +10,11 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.factory;
package org.apache.activemq6.factory;
import org.hornetq.cli.ConfigurationException;
import org.hornetq.dto.BrokerDTO;
import org.hornetq.dto.XmlUtil;
import org.apache.activemq6.cli.ConfigurationException;
import org.apache.activemq6.dto.BrokerDTO;
import org.apache.activemq6.dto.XmlUtil;
import java.io.File;
import java.net.URI;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.integration.bootstrap;
package org.apache.activemq6.integration.bootstrap;
import org.jboss.logging.annotations.MessageBundle;

View File

@ -11,7 +11,7 @@
* permissions and limitations under the License.
*/
package org.hornetq.integration.bootstrap;
package org.apache.activemq6.integration.bootstrap;
import org.jboss.logging.BasicLogger;
import org.jboss.logging.Logger;

View File

@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-pom</artifactId>
<version>2.5.0-SNAPSHOT</version>
<groupId>org.apache.activemq6</groupId>
<artifactId>activemq6-pom</artifactId>
<version>6.0.0-SNAPSHOT</version>
</parent>
<artifactId>hornetq-commons</artifactId>
<artifactId>activemq6-commons</artifactId>
<packaging>jar</packaging>
<name>HornetQ Commons</name>
<name>ActiveMQ6 Commons</name>
<properties>
<hornetq.basedir>${project.basedir}/..</hornetq.basedir>

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.ADDRESS_EXISTS;
import static org.apache.activemq6.api.core.HornetQExceptionType.ADDRESS_EXISTS;
/**
* An operation failed because an address exists on the server.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.ADDRESS_FULL;
import static org.apache.activemq6.api.core.HornetQExceptionType.ADDRESS_FULL;
/**
* An address is full.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.ALREADY_REPLICATING;
import static org.apache.activemq6.api.core.HornetQExceptionType.ALREADY_REPLICATING;
/**
* The server is already paired with a replicating backup.

View File

@ -11,7 +11,7 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.nio.ByteBuffer;

View File

@ -11,12 +11,12 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.nio.ByteBuffer;
import io.netty.buffer.Unpooled;
import org.hornetq.core.buffers.impl.ChannelBufferWrapper;
import org.apache.activemq6.core.buffers.impl.ChannelBufferWrapper;
/**
* Factory class to create instances of {@link HornetQBuffer}.

View File

@ -11,7 +11,7 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
/**
* Security exception thrown when the cluster user fails authentication.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.CONNECTION_TIMEDOUT;
import static org.apache.activemq6.api.core.HornetQExceptionType.CONNECTION_TIMEDOUT;
/**
* A client timed out will connecting to HornetQ server.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.DISCONNECTED;
import static org.apache.activemq6.api.core.HornetQExceptionType.DISCONNECTED;
/**
* A client was disconnected from HornetQ server when the server has shut down.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.DUPLICATE_ID_REJECTED;
import static org.apache.activemq6.api.core.HornetQExceptionType.DUPLICATE_ID_REJECTED;
/**
* A DuplicateID was rejected.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.DUPLICATE_METADATA;
import static org.apache.activemq6.api.core.HornetQExceptionType.DUPLICATE_METADATA;
/**
* A Session Metadata was set in duplication

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
/**
* HornetQException is the root exception for the HornetQ API.

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.util.Collections;
import java.util.EnumSet;

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.IO_ERROR;
import static org.apache.activemq6.api.core.HornetQExceptionType.IO_ERROR;
/**
* Unexpected I/O error occurred on the server.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.ILLEGAL_STATE;
import static org.apache.activemq6.api.core.HornetQExceptionType.ILLEGAL_STATE;
/**
* A HornetQ resource is not in a legal state (e.g. calling ClientConsumer.receive() if a

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.INCOMPATIBLE_CLIENT_SERVER_VERSIONS;
import static org.apache.activemq6.api.core.HornetQExceptionType.INCOMPATIBLE_CLIENT_SERVER_VERSIONS;
/**
* The server version and the client version are incompatible.

View File

@ -11,13 +11,13 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.INTERCEPTOR_REJECTED_PACKET;
import static org.apache.activemq6.api.core.HornetQExceptionType.INTERCEPTOR_REJECTED_PACKET;
/**
* An outgoing interceptor returned false.
* @see org.hornetq.api.core.client.ServerLocator#addOutgoingInterceptor(org.hornetq.api.core.Interceptor)
* @see org.apache.activemq6.api.core.client.ServerLocator#addOutgoingInterceptor(org.hornetq.api.core.Interceptor)
* @author Justin Bertram
*/
// XXX I doubt any reader will make much sense of this Javadoc's text.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.INTERNAL_ERROR;
import static org.apache.activemq6.api.core.HornetQExceptionType.INTERNAL_ERROR;
/**
* Internal error which prevented HornetQ from performing an important operation.

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
/**
* When an interruption happens, we will just throw a non-checked exception.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.INVALID_FILTER_EXPRESSION;
import static org.apache.activemq6.api.core.HornetQExceptionType.INVALID_FILTER_EXPRESSION;
/**
* A filter expression was found to be invalid.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.INVALID_TRANSIENT_QUEUE_USE;
import static org.apache.activemq6.api.core.HornetQExceptionType.INVALID_TRANSIENT_QUEUE_USE;
/**
* An operation failed because a queue exists on the server.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.LARGE_MESSAGE_ERROR_BODY;
import static org.apache.activemq6.api.core.HornetQExceptionType.LARGE_MESSAGE_ERROR_BODY;
/**
* A problem occurred while manipulating the body of a large message.

View File

@ -11,10 +11,10 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.LARGE_MESSAGE_INTERRUPTED;
import static org.apache.activemq6.api.core.HornetQExceptionType.LARGE_MESSAGE_INTERRUPTED;
/**
* @author Clebert

View File

@ -11,7 +11,7 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
/**

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.QUEUE_DOES_NOT_EXIST;
import static org.apache.activemq6.api.core.HornetQExceptionType.QUEUE_DOES_NOT_EXIST;
/**
* An operation failed because a queue does not exist on the server.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.NOT_CONNECTED;
import static org.apache.activemq6.api.core.HornetQExceptionType.NOT_CONNECTED;
/**
* A client is not able to connect to HornetQ server.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.OBJECT_CLOSED;
import static org.apache.activemq6.api.core.HornetQExceptionType.OBJECT_CLOSED;
/**
* A client operation failed because the calling resource (ClientSession, ClientProducer, etc.) is

View File

@ -10,13 +10,13 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
/**
* A PropertyConversionException is thrown by {@code org.hornetq.api.core.Message} methods when a
* A PropertyConversionException is thrown by {@code org.apache.activemq6.api.core.Message} methods when a
* property can not be converted to the expected type.
* @author <a href="mailto:jmesnil@redhat.com">Jeff Mesnil</a>
* @see org.hornetq.api.core.Message
* @see org.apache.activemq6.api.core.Message
*/
public final class HornetQPropertyConversionException extends RuntimeException
{

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.QUEUE_EXISTS;
import static org.apache.activemq6.api.core.HornetQExceptionType.QUEUE_EXISTS;
/**
* An operation failed because a queue exists on the server.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.SECURITY_EXCEPTION;
import static org.apache.activemq6.api.core.HornetQExceptionType.SECURITY_EXCEPTION;
/**
* A security problem occurred (authentication issues, permission issues,...)

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.SESSION_CREATION_REJECTED;
import static org.apache.activemq6.api.core.HornetQExceptionType.SESSION_CREATION_REJECTED;
/**
* The creation of a session was rejected by the server (e.g. if the server is starting and has not

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.TRANSACTION_OUTCOME_UNKNOWN;
import static org.apache.activemq6.api.core.HornetQExceptionType.TRANSACTION_OUTCOME_UNKNOWN;
/**
* The outcome of a transaction is unknown.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.TRANSACTION_ROLLED_BACK;
import static org.apache.activemq6.api.core.HornetQExceptionType.TRANSACTION_ROLLED_BACK;
/**
* A transaction was rolled back.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.UNBLOCKED;
import static org.apache.activemq6.api.core.HornetQExceptionType.UNBLOCKED;
/**
* A blocking call from a client was unblocked during failover.

View File

@ -11,9 +11,9 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import static org.hornetq.api.core.HornetQExceptionType.UNSUPPORTED_PACKET;
import static org.apache.activemq6.api.core.HornetQExceptionType.UNSUPPORTED_PACKET;
/**
* A packet of unsupported type was received by HornetQ PacketHandler.

View File

@ -11,7 +11,7 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.io.Serializable;

View File

@ -11,13 +11,13 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.hornetq.utils.DataConstants;
import org.apache.activemq6.utils.DataConstants;
/**
* A simple String class that can store all characters, and stores as simple {@code byte[]}, this

View File

@ -11,16 +11,16 @@
* permissions and limitations under the License.
*/
package org.hornetq.core.buffers.impl;
package org.apache.activemq6.core.buffers.impl;
import java.nio.ByteBuffer;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import org.hornetq.api.core.HornetQBuffer;
import org.hornetq.api.core.SimpleString;
import org.hornetq.utils.DataConstants;
import org.hornetq.utils.UTF8Util;
import org.apache.activemq6.api.core.HornetQBuffer;
import org.apache.activemq6.api.core.SimpleString;
import org.apache.activemq6.utils.DataConstants;
import org.apache.activemq6.utils.UTF8Util;
/**
* A ChannelBufferWrapper

View File

@ -11,7 +11,7 @@
* permissions and limitations under the License.
*/
package org.hornetq.core.server;
package org.apache.activemq6.core.server;
/**
* A HornetQComponent

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;

View File

@ -11,7 +11,7 @@
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.UnpooledByteBufAllocator;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.net.URL;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.util.AbstractSet;
import java.util.Iterator;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.util.Set;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
/**
*

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.math.BigInteger;
import java.security.InvalidKeyException;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.io.BufferedInputStream;
import java.io.IOException;
@ -23,7 +23,7 @@ public class FactoryFinder
/**
* The strategy that the FactoryFinder uses to find load and instantiate Objects
* can be changed out by calling the
* {@link org.hornetq.utils.FactoryFinder#setObjectFactory(org.hornetq.utils.FactoryFinder.ObjectFactory)}
* {@link org.apache.activemq6.utils.FactoryFinder#setObjectFactory(org.hornetq.utils.FactoryFinder.ObjectFactory)}
* method with a custom implementation of ObjectFactory.
* <p/>
* The default ObjectFactory is typically changed out when running in a specialized container

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.security.AccessController;
import java.security.PrivilegedAction;

View File

@ -10,10 +10,10 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import org.hornetq.api.core.HornetQIllegalStateException;
import org.apache.activemq6.api.core.HornetQIllegalStateException;
import org.jboss.logging.annotations.Cause;
import org.jboss.logging.annotations.Message;
import org.jboss.logging.annotations.MessageBundle;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import org.jboss.logging.BasicLogger;
import org.jboss.logging.Logger;

View File

@ -10,15 +10,15 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.HashMap;
import java.util.Map;
import org.hornetq.api.core.HornetQException;
import org.hornetq.api.core.HornetQExceptionType;
import org.apache.activemq6.api.core.HornetQException;
import org.apache.activemq6.api.core.HornetQExceptionType;
/**
* A PasswordMarkingUtil

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
/**
* @author Clebert Suconic

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.util.concurrent.Executor;
import java.util.concurrent.atomic.AtomicInteger;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.AbstractQueuedSynchronizer;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.util.Map;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.nio.ByteBuffer;
import java.util.Collections;
@ -20,21 +20,21 @@ import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import org.hornetq.api.core.HornetQBuffer;
import org.hornetq.api.core.HornetQPropertyConversionException;
import org.hornetq.api.core.SimpleString;
import org.apache.activemq6.api.core.HornetQBuffer;
import org.apache.activemq6.api.core.HornetQPropertyConversionException;
import org.apache.activemq6.api.core.SimpleString;
import static org.hornetq.utils.DataConstants.BOOLEAN;
import static org.hornetq.utils.DataConstants.BYTE;
import static org.hornetq.utils.DataConstants.BYTES;
import static org.hornetq.utils.DataConstants.CHAR;
import static org.hornetq.utils.DataConstants.DOUBLE;
import static org.hornetq.utils.DataConstants.FLOAT;
import static org.hornetq.utils.DataConstants.INT;
import static org.hornetq.utils.DataConstants.LONG;
import static org.hornetq.utils.DataConstants.NULL;
import static org.hornetq.utils.DataConstants.SHORT;
import static org.hornetq.utils.DataConstants.STRING;
import static org.apache.activemq6.utils.DataConstants.BOOLEAN;
import static org.apache.activemq6.utils.DataConstants.BYTE;
import static org.apache.activemq6.utils.DataConstants.BYTES;
import static org.apache.activemq6.utils.DataConstants.CHAR;
import static org.apache.activemq6.utils.DataConstants.DOUBLE;
import static org.apache.activemq6.utils.DataConstants.FLOAT;
import static org.apache.activemq6.utils.DataConstants.INT;
import static org.apache.activemq6.utils.DataConstants.LONG;
import static org.apache.activemq6.utils.DataConstants.NULL;
import static org.apache.activemq6.utils.DataConstants.SHORT;
import static org.apache.activemq6.utils.DataConstants.STRING;
/**
* Property Value Conversion.

View File

@ -10,11 +10,11 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.lang.ref.SoftReference;
import org.hornetq.api.core.HornetQBuffer;
import org.apache.activemq6.api.core.HornetQBuffer;
/**
*

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
/**

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.lang.reflect.Method;
import java.net.NetworkInterface;
@ -31,7 +31,7 @@ import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import org.hornetq.api.core.SimpleString;
import org.apache.activemq6.api.core.SimpleString;
public final class UUIDGenerator
{

View File

@ -13,7 +13,7 @@
* limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.util.Random;

View File

@ -11,7 +11,7 @@
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import org.junit.Assert;
import org.junit.Test;

View File

@ -10,12 +10,12 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import org.junit.Test;
import org.junit.Assert;
import org.hornetq.api.core.Pair;
import org.apache.activemq6.api.core.Pair;
public class PairTest extends Assert

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.utils;
package org.apache.activemq6.utils;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.Executor;

View File

@ -3,14 +3,14 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-pom</artifactId>
<version>2.5.0-SNAPSHOT</version>
<groupId>org.apache.activemq6</groupId>
<artifactId>activemq6-pom</artifactId>
<version>6.0.0-SNAPSHOT</version>
</parent>
<artifactId>hornetq-core-client</artifactId>
<artifactId>activemq6-core-client</artifactId>
<packaging>jar</packaging>
<name>HornetQ Core Client</name>
<name>ActiveMQ6 Core Client</name>
<properties>
<hornetq.basedir>${project.basedir}/..</hornetq.basedir>
@ -26,18 +26,18 @@
<artifactId>jgroups</artifactId>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-commons</artifactId>
<groupId>org.apache.activemq6</groupId>
<artifactId>activemq6-commons</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-selector</artifactId>
<groupId>org.apache.activemq6</groupId>
<artifactId>activemq6-selector</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.hornetq</groupId>
<artifactId>hornetq-journal</artifactId>
<groupId>org.apache.activemq6</groupId>
<artifactId>activemq6-journal</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
@ -136,7 +136,7 @@
<transformationSet>
<!-- Generates target/generated-sources/xslt/.../HornetQDefaultConfiguration.java
using this XSLT `./src/main/resources/hqDefaults.xsl`. -->
<dir>../hornetq-server/src/main/resources/schema</dir>
<dir>../activemq6-server/src/main/resources/schema</dir>
<outputDir>${project.build.directory}/generated-sources/xslt</outputDir>
<stylesheet>./src/main/resources/hqDefaults.xsl</stylesheet>
<includes>
@ -144,7 +144,7 @@
</includes>
<fileMappers>
<fileMapper implementation="org.codehaus.plexus.components.io.filemappers.MergeFileMapper">
<targetName>./org/hornetq/api/config/HornetQDefaultConfiguration.java</targetName>
<targetName>./org/apache/activemq6/api/config/HornetQDefaultConfiguration.java</targetName>
</fileMapper>
</fileMappers>
</transformationSet>

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.util.concurrent.TimeUnit;

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.io.Serializable;

View File

@ -11,7 +11,7 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.io.Serializable;

View File

@ -10,17 +10,17 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.io.Serializable;
import java.util.List;
import org.hornetq.api.config.HornetQDefaultConfiguration;
import org.apache.activemq6.api.config.HornetQDefaultConfiguration;
/**
* The basic configuration used to determine how the server will broadcast members
* This is analogous to {@link org.hornetq.api.core.DiscoveryGroupConfiguration}
* This is analogous to {@link org.apache.activemq6.api.core.DiscoveryGroupConfiguration}
*
* @author <a href="mailto:tim.fox@jboss.com">Tim Fox</a>
* @author <a href="mailto:hgao@redhat.com">Howard Gao</a>

View File

@ -10,15 +10,15 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import org.hornetq.api.core.client.HornetQClient;
import org.hornetq.utils.UUIDGenerator;
import org.apache.activemq6.api.core.client.HornetQClient;
import org.apache.activemq6.utils.UUIDGenerator;
/**
* This file represents how we are using Discovery.

View File

@ -11,12 +11,12 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
/**
* This interface is needed for making a DiscoveryGroupConfiguration backward
* compatible with version 2.2 clients. It is used to extract from new
* {@link org.hornetq.api.core.BroadcastEndpointFactoryConfiguration} the four
* {@link org.apache.activemq6.api.core.BroadcastEndpointFactoryConfiguration} the four
* UDP attributes in order to form a version 2.2 DiscoveryGroupConfiguration
* in time of serialization.
*

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
/**
* Constants representing pre-defined message attributes that can be referenced in HornetQ core

View File

@ -10,17 +10,17 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import org.hornetq.core.protocol.core.Packet;
import org.hornetq.spi.core.protocol.RemotingConnection;
import org.apache.activemq6.core.protocol.core.Packet;
import org.apache.activemq6.spi.core.protocol.RemotingConnection;
/**
* This is class is a simple way to intercepting calls on HornetQ client and servers.
* <p>
* To add an interceptor to HornetQ server, you have to modify the server configuration file
* {@literal hornetq-configuration.xml}.<br>
* To add it to a client, use {@link org.hornetq.api.core.client.ServerLocator#addIncomingInterceptor(Interceptor)}
* To add it to a client, use {@link org.apache.activemq6.api.core.client.ServerLocator#addIncomingInterceptor(Interceptor)}
*
* @author clebert.suconic@jboss.com
* @author <a href="mailto:tim.fox@jboss.com">Tim Fox</a>

View File

@ -10,7 +10,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.net.URL;
import java.util.ArrayList;

View File

@ -10,12 +10,12 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.util.Map;
import java.util.Set;
import org.hornetq.utils.UUID;
import org.apache.activemq6.utils.UUID;
/**

View File

@ -10,16 +10,16 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import org.hornetq.core.client.HornetQClientMessageBundle;
import org.hornetq.core.remoting.impl.TransportConfigurationUtil;
import org.hornetq.core.remoting.impl.netty.TransportConstants;
import org.hornetq.utils.UUIDGenerator;
import org.apache.activemq6.core.client.HornetQClientMessageBundle;
import org.apache.activemq6.core.remoting.impl.TransportConfigurationUtil;
import org.apache.activemq6.core.remoting.impl.netty.TransportConstants;
import org.apache.activemq6.utils.UUIDGenerator;
/**
* A TransportConfiguration is used by a client to specify connections to a server and its backup if
@ -86,7 +86,7 @@ public class TransportConfiguration implements Serializable
}
/**
* Creates a TransportConfiguration with a specific name providing the class name of the {@link org.hornetq.spi.core.remoting.ConnectorFactory}
* Creates a TransportConfiguration with a specific name providing the class name of the {@link org.apache.activemq6.spi.core.remoting.ConnectorFactory}
* and any parameters needed.
*
* @param className The class name of the ConnectorFactory
@ -110,7 +110,7 @@ public class TransportConfiguration implements Serializable
}
/**
* Creates a TransportConfiguration providing the class name of the {@link org.hornetq.spi.core.remoting.ConnectorFactory}
* Creates a TransportConfiguration providing the class name of the {@link org.apache.activemq6.spi.core.remoting.ConnectorFactory}
* and any parameters needed.
*
* @param className The class name of the ConnectorFactory
@ -122,7 +122,7 @@ public class TransportConfiguration implements Serializable
}
/**
* Creates a TransportConfiguration providing the class name of the {@link org.hornetq.spi.core.remoting.ConnectorFactory}
* Creates a TransportConfiguration providing the class name of the {@link org.apache.activemq6.spi.core.remoting.ConnectorFactory}
*
* @param className The class name of the ConnectorFactory
*/

View File

@ -11,7 +11,7 @@
* permissions and limitations under the License.
*/
package org.hornetq.api.core;
package org.apache.activemq6.api.core;
import java.util.Map;

Some files were not shown because too many files have changed in this diff Show More