merge PR #9 Renaming packages
This commit is contained in:
commit
97bbe8cd12
|
@ -116,7 +116,7 @@ do this with Eclipse Juno (4.2).
|
|||
|
||||
The current recommended solution for Eclipse Kepler is to mark
|
||||
`javacc-maven-plugin` as ignored by Eclipse, run Maven from the
|
||||
command line and then modify the project `activemq6-core-client` adding
|
||||
command line and then modify the project `activemq-core-client` adding
|
||||
the folder `target/generated-sources/javacc` to its build path.
|
||||
|
||||
[m2e connector for javacc-maven-plugin]: https://github.com/objectledge/maven-extensions
|
||||
|
@ -189,7 +189,7 @@ To setup repositories for reviewing and pushing:
|
|||
# Clone the GitHub Mirror of ActiveMQ6 Repo:
|
||||
git clone git@github.com:apache/activemq-6.git
|
||||
|
||||
# Add the following section to your <activemq6 repo>/.git/config statement to fetch all pull requests sent to the GitHub mirror. Note that the remote name for git@github.com:apache/activemq-6.git may be different. Be sure to edit all references to the remote name. In this case "activemq".
|
||||
# Add the following section to your <activemq repo>/.git/config statement to fetch all pull requests sent to the GitHub mirror. Note that the remote name for git@github.com:apache/activemq-6.git may be different. Be sure to edit all references to the remote name. In this case "activemq".
|
||||
[remote "origin"]
|
||||
url = git@github.com:apache/activemq-6.git
|
||||
fetch = +refs/heads/*:refs/remotes/origin/*
|
||||
|
@ -206,7 +206,7 @@ To setup repositories for reviewing and pushing:
|
|||
To push commits from a pull request to the apache repository:
|
||||
|
||||
```
|
||||
cd <activemq6 repo>
|
||||
cd <activemq repo>
|
||||
|
||||
# Download all the remote branches etc... including all the pull requests.
|
||||
git fetch --all
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.apache.activemq6</groupId>
|
||||
<artifactId>activemq6-pom</artifactId>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-pom</artifactId>
|
||||
<version>6.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>activemq6-bootstrap</artifactId>
|
||||
<artifactId>activemq-bootstrap</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>ActiveMQ6 Bootstrap</name>
|
||||
|
||||
|
@ -18,18 +18,18 @@
|
|||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.apache.activemq6</groupId>
|
||||
<artifactId>activemq6-server</artifactId>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-server</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.activemq6</groupId>
|
||||
<artifactId>activemq6-jms-server</artifactId>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-jms-server</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.activemq6</groupId>
|
||||
<artifactId>activemq6-dto</artifactId>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-dto</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.cli;
|
||||
package org.apache.activemq.cli;
|
||||
|
||||
public class ConfigurationException extends Exception
|
||||
{
|
|
@ -10,15 +10,15 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.cli;
|
||||
package org.apache.activemq.cli;
|
||||
|
||||
import io.airlift.command.Cli;
|
||||
import io.airlift.command.ParseArgumentsUnexpectedException;
|
||||
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 org.apache.activemq.cli.commands.Action;
|
||||
import org.apache.activemq.cli.commands.ActionContext;
|
||||
import org.apache.activemq.cli.commands.HelpAction;
|
||||
import org.apache.activemq.cli.commands.Run;
|
||||
import org.apache.activemq.cli.commands.Stop;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.cli.commands;
|
||||
package org.apache.activemq.cli.commands;
|
||||
|
||||
public interface Action
|
||||
{
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.cli.commands;
|
||||
package org.apache.activemq.cli.commands;
|
||||
|
||||
import java.io.InputStream;
|
||||
import java.io.PrintStream;
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.cli.commands;
|
||||
package org.apache.activemq.cli.commands;
|
||||
|
||||
import io.airlift.command.Help;
|
||||
|
|
@ -10,25 +10,25 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.cli.commands;
|
||||
package org.apache.activemq.cli.commands;
|
||||
|
||||
import io.airlift.command.Arguments;
|
||||
import io.airlift.command.Command;
|
||||
|
||||
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 org.apache.activemq.cli.HornetQ;
|
||||
import org.apache.activemq.core.config.Configuration;
|
||||
import org.apache.activemq.core.server.impl.HornetQServerImpl;
|
||||
import org.apache.activemq.dto.BrokerDTO;
|
||||
import org.apache.activemq.factory.BrokerFactory;
|
||||
import org.apache.activemq.factory.CoreFactory;
|
||||
import org.apache.activemq.factory.JmsFactory;
|
||||
import org.apache.activemq.factory.SecurityManagerFactory;
|
||||
import org.apache.activemq.integration.bootstrap.HornetQBootstrapLogger;
|
||||
import org.apache.activemq.jms.server.JMSServerManager;
|
||||
import org.apache.activemq.jms.server.config.JMSConfiguration;
|
||||
import org.apache.activemq.jms.server.impl.JMSServerManagerImpl;
|
||||
import org.apache.activemq.jms.server.impl.StandaloneNamingServer;
|
||||
import org.apache.activemq.spi.core.security.HornetQSecurityManager;
|
||||
|
||||
import javax.management.MBeanServer;
|
||||
|
|
@ -10,12 +10,12 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.cli.commands;
|
||||
package org.apache.activemq.cli.commands;
|
||||
|
||||
import io.airlift.command.Arguments;
|
||||
import io.airlift.command.Command;
|
||||
import org.apache.activemq6.dto.BrokerDTO;
|
||||
import org.apache.activemq6.factory.BrokerFactory;
|
||||
import org.apache.activemq.dto.BrokerDTO;
|
||||
import org.apache.activemq.factory.BrokerFactory;
|
||||
|
||||
import java.io.File;
|
||||
|
|
@ -10,11 +10,11 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.factory;
|
||||
package org.apache.activemq.factory;
|
||||
|
||||
import org.apache.activemq6.cli.ConfigurationException;
|
||||
import org.apache.activemq6.dto.BrokerDTO;
|
||||
import org.apache.activemq6.utils.FactoryFinder;
|
||||
import org.apache.activemq.cli.ConfigurationException;
|
||||
import org.apache.activemq.dto.BrokerDTO;
|
||||
import org.apache.activemq.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.apache.activemq6/broker/");
|
||||
FactoryFinder finder = new FactoryFinder("META-INF/services/org.apache.activemq/broker/");
|
||||
factory = (BrokerFactoryHandler)finder.newInstance(configURI.getScheme());
|
||||
}
|
||||
catch (IOException ioe )
|
|
@ -10,9 +10,9 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.factory;
|
||||
package org.apache.activemq.factory;
|
||||
|
||||
import org.apache.activemq6.dto.BrokerDTO;
|
||||
import org.apache.activemq.dto.BrokerDTO;
|
||||
|
||||
import java.net.URI;
|
||||
|
|
@ -10,13 +10,13 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.factory;
|
||||
package org.apache.activemq.factory;
|
||||
|
||||
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 org.apache.activemq.cli.ConfigurationException;
|
||||
import org.apache.activemq.core.config.Configuration;
|
||||
import org.apache.activemq.core.config.impl.ConfigurationImpl;
|
||||
import org.apache.activemq.dto.CoreDTO;
|
||||
import org.apache.activemq.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.apache.activemq6/broker/core/");
|
||||
FactoryFinder finder = new FactoryFinder("META-INF/services/org.apache.activemq/broker/core/");
|
||||
factory = (CoreFactoryHandler)finder.newInstance(configURI.getScheme());
|
||||
}
|
||||
catch (IOException ioe )
|
|
@ -10,9 +10,9 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.factory;
|
||||
package org.apache.activemq.factory;
|
||||
|
||||
import org.apache.activemq6.core.config.Configuration;
|
||||
import org.apache.activemq.core.config.Configuration;
|
||||
|
||||
import java.net.URI;
|
||||
|
|
@ -10,10 +10,10 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.factory;
|
||||
package org.apache.activemq.factory;
|
||||
|
||||
import org.apache.activemq6.core.config.Configuration;
|
||||
import org.apache.activemq6.core.config.impl.FileConfiguration;
|
||||
import org.apache.activemq.core.config.Configuration;
|
||||
import org.apache.activemq.core.config.impl.FileConfiguration;
|
||||
|
||||
import java.net.URI;
|
||||
|
|
@ -10,10 +10,10 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.factory;
|
||||
package org.apache.activemq.factory;
|
||||
|
||||
import org.apache.activemq6.jms.server.config.JMSConfiguration;
|
||||
import org.apache.activemq6.jms.server.impl.JMSServerConfigParserImpl;
|
||||
import org.apache.activemq.jms.server.config.JMSConfiguration;
|
||||
import org.apache.activemq.jms.server.impl.JMSServerConfigParserImpl;
|
||||
|
||||
import java.io.FileInputStream;
|
||||
import java.io.InputStream;
|
|
@ -10,15 +10,15 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.factory;
|
||||
package org.apache.activemq.factory;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.URI;
|
||||
|
||||
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;
|
||||
import org.apache.activemq.cli.ConfigurationException;
|
||||
import org.apache.activemq.dto.JmsDTO;
|
||||
import org.apache.activemq.jms.server.config.JMSConfiguration;
|
||||
import org.apache.activemq.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.apache.activemq6/broker/jms/");
|
||||
FactoryFinder finder = new FactoryFinder("META-INF/services/org.apache.activemq/broker/jms/");
|
||||
factory = (JmsFactoryHandler)finder.newInstance(configURI.getScheme());
|
||||
}
|
||||
catch (IOException ioe )
|
|
@ -10,9 +10,9 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.factory;
|
||||
package org.apache.activemq.factory;
|
||||
|
||||
import org.apache.activemq6.jms.server.config.JMSConfiguration;
|
||||
import org.apache.activemq.jms.server.config.JMSConfiguration;
|
||||
|
||||
import java.net.URI;
|
||||
|
|
@ -10,11 +10,11 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.factory;
|
||||
package org.apache.activemq.factory;
|
||||
|
||||
import org.apache.activemq6.dto.SecurityDTO;
|
||||
import org.apache.activemq6.spi.core.security.HornetQSecurityManager;
|
||||
import org.apache.activemq6.utils.FactoryFinder;
|
||||
import org.apache.activemq.dto.SecurityDTO;
|
||||
import org.apache.activemq.spi.core.security.HornetQSecurityManager;
|
||||
import org.apache.activemq.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.apache.activemq6/security/");
|
||||
FactoryFinder finder = new FactoryFinder("META-INF/services/org.apache.activemq/security/");
|
||||
HornetQSecurityManager manager = (HornetQSecurityManager)finder.newInstance(config.getClass().getAnnotation(XmlRootElement.class).name());
|
||||
return manager;
|
||||
}
|
|
@ -10,11 +10,11 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.factory;
|
||||
package org.apache.activemq.factory;
|
||||
|
||||
import org.apache.activemq6.cli.ConfigurationException;
|
||||
import org.apache.activemq6.dto.BrokerDTO;
|
||||
import org.apache.activemq6.dto.XmlUtil;
|
||||
import org.apache.activemq.cli.ConfigurationException;
|
||||
import org.apache.activemq.dto.BrokerDTO;
|
||||
import org.apache.activemq.dto.XmlUtil;
|
||||
|
||||
import java.io.File;
|
||||
import java.net.URI;
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.integration.bootstrap;
|
||||
package org.apache.activemq.integration.bootstrap;
|
||||
|
||||
|
||||
import org.jboss.logging.annotations.MessageBundle;
|
|
@ -11,7 +11,7 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.integration.bootstrap;
|
||||
package org.apache.activemq.integration.bootstrap;
|
||||
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.Logger;
|
|
@ -10,4 +10,4 @@
|
|||
## implied. See the License for the specific language governing
|
||||
## permissions and limitations under the License.
|
||||
## ---------------------------------------------------------------------------
|
||||
class=org.apache.activemq6.factory.FileJmsFactoryHandler
|
||||
class=org.apache.activemq.factory.FileCoreFactoryHandler
|
|
@ -10,4 +10,4 @@
|
|||
## implied. See the License for the specific language governing
|
||||
## permissions and limitations under the License.
|
||||
## ---------------------------------------------------------------------------
|
||||
class=org.apache.activemq6.factory.FileCoreFactoryHandler
|
||||
class=org.apache.activemq.factory.FileJmsFactoryHandler
|
|
@ -10,4 +10,4 @@
|
|||
## implied. See the License for the specific language governing
|
||||
## permissions and limitations under the License.
|
||||
## ---------------------------------------------------------------------------
|
||||
class=org.apache.activemq6.factory.XmlBrokerFactoryHandler
|
||||
class=org.apache.activemq.factory.XmlBrokerFactoryHandler
|
|
@ -3,12 +3,12 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.apache.activemq6</groupId>
|
||||
<artifactId>activemq6-pom</artifactId>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-pom</artifactId>
|
||||
<version>6.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>activemq6-commons</artifactId>
|
||||
<artifactId>activemq-commons</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>ActiveMQ6 Commons</name>
|
||||
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.ADDRESS_EXISTS;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.ADDRESS_EXISTS;
|
||||
|
||||
/**
|
||||
* An operation failed because an address exists on the server.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.ADDRESS_FULL;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.ADDRESS_FULL;
|
||||
|
||||
/**
|
||||
* An address is full.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.ALREADY_REPLICATING;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.ALREADY_REPLICATING;
|
||||
|
||||
/**
|
||||
* The server is already paired with a replicating backup.
|
|
@ -11,7 +11,7 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
|
@ -11,12 +11,12 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import io.netty.buffer.Unpooled;
|
||||
import org.apache.activemq6.core.buffers.impl.ChannelBufferWrapper;
|
||||
import org.apache.activemq.core.buffers.impl.ChannelBufferWrapper;
|
||||
|
||||
/**
|
||||
* Factory class to create instances of {@link HornetQBuffer}.
|
|
@ -11,7 +11,7 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
/**
|
||||
* Security exception thrown when the cluster user fails authentication.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.CONNECTION_TIMEDOUT;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.CONNECTION_TIMEDOUT;
|
||||
|
||||
/**
|
||||
* A client timed out will connecting to HornetQ server.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.DISCONNECTED;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.DISCONNECTED;
|
||||
|
||||
/**
|
||||
* A client was disconnected from HornetQ server when the server has shut down.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.DUPLICATE_ID_REJECTED;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.DUPLICATE_ID_REJECTED;
|
||||
|
||||
/**
|
||||
* A DuplicateID was rejected.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.DUPLICATE_METADATA;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.DUPLICATE_METADATA;
|
||||
|
||||
/**
|
||||
* A Session Metadata was set in duplication
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
/**
|
||||
* HornetQException is the root exception for the HornetQ API.
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.EnumSet;
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.IO_ERROR;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.IO_ERROR;
|
||||
|
||||
/**
|
||||
* Unexpected I/O error occurred on the server.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.ILLEGAL_STATE;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.ILLEGAL_STATE;
|
||||
|
||||
/**
|
||||
* A HornetQ resource is not in a legal state (e.g. calling ClientConsumer.receive() if a
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.INCOMPATIBLE_CLIENT_SERVER_VERSIONS;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.INCOMPATIBLE_CLIENT_SERVER_VERSIONS;
|
||||
|
||||
/**
|
||||
* The server version and the client version are incompatible.
|
|
@ -11,13 +11,13 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.INTERCEPTOR_REJECTED_PACKET;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.INTERCEPTOR_REJECTED_PACKET;
|
||||
|
||||
/**
|
||||
* An outgoing interceptor returned false.
|
||||
* @see org.apache.activemq6.api.core.client.ServerLocator#addOutgoingInterceptor(org.apache.activemq6.api.core.Interceptor)
|
||||
* @see org.apache.activemq.api.core.client.ServerLocator#addOutgoingInterceptor(org.apache.activemq.api.core.Interceptor)
|
||||
* @author Justin Bertram
|
||||
*/
|
||||
// XXX I doubt any reader will make much sense of this Javadoc's text.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.INTERNAL_ERROR;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.INTERNAL_ERROR;
|
||||
|
||||
/**
|
||||
* Internal error which prevented HornetQ from performing an important operation.
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
/**
|
||||
* When an interruption happens, we will just throw a non-checked exception.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.INVALID_FILTER_EXPRESSION;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.INVALID_FILTER_EXPRESSION;
|
||||
|
||||
/**
|
||||
* A filter expression was found to be invalid.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.INVALID_TRANSIENT_QUEUE_USE;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.INVALID_TRANSIENT_QUEUE_USE;
|
||||
|
||||
/**
|
||||
* An operation failed because a queue exists on the server.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.LARGE_MESSAGE_ERROR_BODY;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.LARGE_MESSAGE_ERROR_BODY;
|
||||
|
||||
/**
|
||||
* A problem occurred while manipulating the body of a large message.
|
|
@ -11,10 +11,10 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.LARGE_MESSAGE_INTERRUPTED;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.LARGE_MESSAGE_INTERRUPTED;
|
||||
|
||||
/**
|
||||
* @author Clebert
|
|
@ -11,7 +11,7 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
|
||||
/**
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.QUEUE_DOES_NOT_EXIST;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.QUEUE_DOES_NOT_EXIST;
|
||||
|
||||
/**
|
||||
* An operation failed because a queue does not exist on the server.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.NOT_CONNECTED;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.NOT_CONNECTED;
|
||||
|
||||
/**
|
||||
* A client is not able to connect to HornetQ server.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.OBJECT_CLOSED;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.OBJECT_CLOSED;
|
||||
|
||||
/**
|
||||
* A client operation failed because the calling resource (ClientSession, ClientProducer, etc.) is
|
|
@ -10,13 +10,13 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
/**
|
||||
* A PropertyConversionException is thrown by {@code org.apache.activemq6.api.core.Message} methods when a
|
||||
* A PropertyConversionException is thrown by {@code org.apache.activemq.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.apache.activemq6.api.core.Message
|
||||
* @see org.apache.activemq.api.core.Message
|
||||
*/
|
||||
public final class HornetQPropertyConversionException extends RuntimeException
|
||||
{
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.QUEUE_EXISTS;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.QUEUE_EXISTS;
|
||||
|
||||
/**
|
||||
* An operation failed because a queue exists on the server.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.SECURITY_EXCEPTION;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.SECURITY_EXCEPTION;
|
||||
|
||||
/**
|
||||
* A security problem occurred (authentication issues, permission issues,...)
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.SESSION_CREATION_REJECTED;
|
||||
import static org.apache.activemq.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
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.TRANSACTION_OUTCOME_UNKNOWN;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.TRANSACTION_OUTCOME_UNKNOWN;
|
||||
|
||||
/**
|
||||
* The outcome of a transaction is unknown.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.TRANSACTION_ROLLED_BACK;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.TRANSACTION_ROLLED_BACK;
|
||||
|
||||
/**
|
||||
* A transaction was rolled back.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.UNBLOCKED;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.UNBLOCKED;
|
||||
|
||||
/**
|
||||
* A blocking call from a client was unblocked during failover.
|
|
@ -11,9 +11,9 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import static org.apache.activemq6.api.core.HornetQExceptionType.UNSUPPORTED_PACKET;
|
||||
import static org.apache.activemq.api.core.HornetQExceptionType.UNSUPPORTED_PACKET;
|
||||
|
||||
/**
|
||||
* A packet of unsupported type was received by HornetQ PacketHandler.
|
|
@ -11,7 +11,7 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -11,13 +11,13 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.activemq6.utils.DataConstants;
|
||||
import org.apache.activemq.utils.DataConstants;
|
||||
|
||||
/**
|
||||
* A simple String class that can store all characters, and stores as simple {@code byte[]}, this
|
|
@ -11,16 +11,16 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.core.buffers.impl;
|
||||
package org.apache.activemq.core.buffers.impl;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.Unpooled;
|
||||
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;
|
||||
import org.apache.activemq.api.core.HornetQBuffer;
|
||||
import org.apache.activemq.api.core.SimpleString;
|
||||
import org.apache.activemq.utils.DataConstants;
|
||||
import org.apache.activemq.utils.UTF8Util;
|
||||
|
||||
/**
|
||||
* A ChannelBufferWrapper
|
|
@ -1,31 +1,31 @@
|
|||
/*
|
||||
* Copyright 2005-2014 Red Hat, Inc.
|
||||
* Red Hat 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.activemq6.core.server;
|
||||
|
||||
/**
|
||||
* A HornetQComponent
|
||||
*
|
||||
* @author <a href="mailto:tim.fox@jboss.com">Tim Fox</a>
|
||||
* @version <tt>$Revision: 2796 $</tt>
|
||||
*
|
||||
*
|
||||
*/
|
||||
public interface HornetQComponent
|
||||
{
|
||||
void start() throws Exception;
|
||||
|
||||
void stop() throws Exception;
|
||||
|
||||
boolean isStarted();
|
||||
}
|
||||
/*
|
||||
* Copyright 2005-2014 Red Hat, Inc.
|
||||
* Red Hat 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.core.server;
|
||||
|
||||
/**
|
||||
* A HornetQComponent
|
||||
*
|
||||
* @author <a href="mailto:tim.fox@jboss.com">Tim Fox</a>
|
||||
* @version <tt>$Revision: 2796 $</tt>
|
||||
*
|
||||
*
|
||||
*/
|
||||
public interface HornetQComponent
|
||||
{
|
||||
void start() throws Exception;
|
||||
|
||||
void stop() throws Exception;
|
||||
|
||||
boolean isStarted();
|
||||
}
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
import java.nio.charset.StandardCharsets;
|
|
@ -11,7 +11,7 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import io.netty.buffer.UnpooledByteBufAllocator;
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.net.URL;
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.util.AbstractSet;
|
||||
import java.util.Iterator;
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.util.Set;
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
/**
|
||||
*
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.security.InvalidKeyException;
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.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.apache.activemq6.utils.FactoryFinder#setObjectFactory(org.apache.activemq6.utils.FactoryFinder.ObjectFactory)}
|
||||
* {@link org.apache.activemq.utils.FactoryFinder#setObjectFactory(org.apache.activemq.utils.FactoryFinder.ObjectFactory)}
|
||||
* method with a custom implementation of ObjectFactory.
|
||||
* <p/>
|
||||
* The default ObjectFactory is typically changed out when running in a specialized container
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.security.AccessController;
|
||||
import java.security.PrivilegedAction;
|
|
@ -10,10 +10,10 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
|
||||
import org.apache.activemq6.api.core.HornetQIllegalStateException;
|
||||
import org.apache.activemq.api.core.HornetQIllegalStateException;
|
||||
import org.jboss.logging.annotations.Cause;
|
||||
import org.jboss.logging.annotations.Message;
|
||||
import org.jboss.logging.annotations.MessageBundle;
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import org.jboss.logging.BasicLogger;
|
||||
import org.jboss.logging.Logger;
|
|
@ -10,15 +10,15 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.security.AccessController;
|
||||
import java.security.PrivilegedAction;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.apache.activemq6.api.core.HornetQException;
|
||||
import org.apache.activemq6.api.core.HornetQExceptionType;
|
||||
import org.apache.activemq.api.core.HornetQException;
|
||||
import org.apache.activemq.api.core.HornetQExceptionType;
|
||||
|
||||
/**
|
||||
* A PasswordMarkingUtil
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
/**
|
||||
* @author Clebert Suconic
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.util.concurrent.Executor;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
import java.util.concurrent.locks.AbstractQueuedSynchronizer;
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.util.Map;
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.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.apache.activemq6.api.core.HornetQBuffer;
|
||||
import org.apache.activemq6.api.core.HornetQPropertyConversionException;
|
||||
import org.apache.activemq6.api.core.SimpleString;
|
||||
import org.apache.activemq.api.core.HornetQBuffer;
|
||||
import org.apache.activemq.api.core.HornetQPropertyConversionException;
|
||||
import org.apache.activemq.api.core.SimpleString;
|
||||
|
||||
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;
|
||||
import static org.apache.activemq.utils.DataConstants.BOOLEAN;
|
||||
import static org.apache.activemq.utils.DataConstants.BYTE;
|
||||
import static org.apache.activemq.utils.DataConstants.BYTES;
|
||||
import static org.apache.activemq.utils.DataConstants.CHAR;
|
||||
import static org.apache.activemq.utils.DataConstants.DOUBLE;
|
||||
import static org.apache.activemq.utils.DataConstants.FLOAT;
|
||||
import static org.apache.activemq.utils.DataConstants.INT;
|
||||
import static org.apache.activemq.utils.DataConstants.LONG;
|
||||
import static org.apache.activemq.utils.DataConstants.NULL;
|
||||
import static org.apache.activemq.utils.DataConstants.SHORT;
|
||||
import static org.apache.activemq.utils.DataConstants.STRING;
|
||||
|
||||
/**
|
||||
* Property Value Conversion.
|
|
@ -10,11 +10,11 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.lang.ref.SoftReference;
|
||||
|
||||
import org.apache.activemq6.api.core.HornetQBuffer;
|
||||
import org.apache.activemq.api.core.HornetQBuffer;
|
||||
|
||||
/**
|
||||
*
|
|
@ -13,7 +13,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
|
||||
/**
|
|
@ -13,7 +13,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.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.apache.activemq6.api.core.SimpleString;
|
||||
import org.apache.activemq.api.core.SimpleString;
|
||||
|
||||
public final class UUIDGenerator
|
||||
{
|
|
@ -13,7 +13,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.util.Random;
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
|
@ -10,12 +10,12 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.apache.activemq6.api.core.Pair;
|
||||
import org.apache.activemq.api.core.Pair;
|
||||
|
||||
|
||||
public class PairTest extends Assert
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.utils;
|
||||
package org.apache.activemq.utils;
|
||||
|
||||
import java.util.concurrent.CountDownLatch;
|
||||
import java.util.concurrent.Executor;
|
|
@ -3,12 +3,12 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<parent>
|
||||
<groupId>org.apache.activemq6</groupId>
|
||||
<artifactId>activemq6-pom</artifactId>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-pom</artifactId>
|
||||
<version>6.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>activemq6-core-client</artifactId>
|
||||
<artifactId>activemq-core-client</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>ActiveMQ6 Core Client</name>
|
||||
|
||||
|
@ -26,18 +26,18 @@
|
|||
<artifactId>jgroups</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.activemq6</groupId>
|
||||
<artifactId>activemq6-commons</artifactId>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-commons</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.activemq6</groupId>
|
||||
<artifactId>activemq6-selector</artifactId>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-selector</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.activemq6</groupId>
|
||||
<artifactId>activemq6-journal</artifactId>
|
||||
<groupId>org.apache.activemq</groupId>
|
||||
<artifactId>activemq-journal</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
@ -73,7 +73,7 @@
|
|||
<maxmemory>512m</maxmemory>
|
||||
<quiet>false</quiet>
|
||||
<aggregate>true</aggregate>
|
||||
<excludePackageNames>org.apache.activemq6.core:org.apache.activemq6.utils</excludePackageNames>
|
||||
<excludePackageNames>org.apache.activemq.core:org.apache.activemq.utils</excludePackageNames>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -103,7 +103,7 @@
|
|||
<executions>
|
||||
<!-- Adds a directory to the list of source folders to be used in this project. This is
|
||||
here to let Maven know about:
|
||||
target/generated-sources/xslt/org.apache.activemq6/api/config/HornetQDefaultConfiguration.java
|
||||
target/generated-sources/xslt/org.apache.activemq/api/config/HornetQDefaultConfiguration.java
|
||||
which is generated by ./src/main/resources/hqDefaults.xsl using the HornetQ
|
||||
configuration schema. -->
|
||||
<execution>
|
||||
|
@ -136,7 +136,7 @@
|
|||
<transformationSet>
|
||||
<!-- Generates target/generated-sources/xslt/.../HornetQDefaultConfiguration.java
|
||||
using this XSLT `./src/main/resources/hqDefaults.xsl`. -->
|
||||
<dir>../activemq6-server/src/main/resources/schema</dir>
|
||||
<dir>../activemq-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/apache/activemq6/api/config/HornetQDefaultConfiguration.java</targetName>
|
||||
<targetName>./org/apache/activemq/api/config/HornetQDefaultConfiguration.java</targetName>
|
||||
</fileMapper>
|
||||
</fileMappers>
|
||||
</transformationSet>
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
|
@ -10,17 +10,17 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.activemq6.api.config.HornetQDefaultConfiguration;
|
||||
import org.apache.activemq.api.config.HornetQDefaultConfiguration;
|
||||
|
||||
|
||||
/**
|
||||
* The basic configuration used to determine how the server will broadcast members
|
||||
* This is analogous to {@link org.apache.activemq6.api.core.DiscoveryGroupConfiguration}
|
||||
* This is analogous to {@link org.apache.activemq.api.core.DiscoveryGroupConfiguration}
|
||||
*
|
||||
* @author <a href="mailto:tim.fox@jboss.com">Tim Fox</a>
|
||||
* @author <a href="mailto:hgao@redhat.com">Howard Gao</a>
|
|
@ -10,15 +10,15 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.ObjectInputStream;
|
||||
import java.io.ObjectOutputStream;
|
||||
import java.io.Serializable;
|
||||
|
||||
import org.apache.activemq6.api.core.client.HornetQClient;
|
||||
import org.apache.activemq6.utils.UUIDGenerator;
|
||||
import org.apache.activemq.api.core.client.HornetQClient;
|
||||
import org.apache.activemq.utils.UUIDGenerator;
|
||||
|
||||
/**
|
||||
* This file represents how we are using Discovery.
|
|
@ -11,12 +11,12 @@
|
|||
* permissions and limitations under the License.
|
||||
*/
|
||||
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.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.apache.activemq6.api.core.BroadcastEndpointFactoryConfiguration} the four
|
||||
* {@link org.apache.activemq.api.core.BroadcastEndpointFactoryConfiguration} the four
|
||||
* UDP attributes in order to form a version 2.2 DiscoveryGroupConfiguration
|
||||
* in time of serialization.
|
||||
*
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
/**
|
||||
* Constants representing pre-defined message attributes that can be referenced in HornetQ core
|
|
@ -10,17 +10,17 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import org.apache.activemq6.core.protocol.core.Packet;
|
||||
import org.apache.activemq6.spi.core.protocol.RemotingConnection;
|
||||
import org.apache.activemq.core.protocol.core.Packet;
|
||||
import org.apache.activemq.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.apache.activemq6.api.core.client.ServerLocator#addIncomingInterceptor(Interceptor)}
|
||||
* To add it to a client, use {@link org.apache.activemq.api.core.client.ServerLocator#addIncomingInterceptor(Interceptor)}
|
||||
*
|
||||
* @author clebert.suconic@jboss.com
|
||||
* @author <a href="mailto:tim.fox@jboss.com">Tim Fox</a>
|
|
@ -10,7 +10,7 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.net.URL;
|
||||
import java.util.ArrayList;
|
|
@ -10,12 +10,12 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
import org.apache.activemq6.utils.UUID;
|
||||
import org.apache.activemq.utils.UUID;
|
||||
|
||||
|
||||
/**
|
|
@ -10,16 +10,16 @@
|
|||
* implied. See the License for the specific language governing
|
||||
* permissions and limitations under the License.
|
||||
*/
|
||||
package org.apache.activemq6.api.core;
|
||||
package org.apache.activemq.api.core;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
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;
|
||||
import org.apache.activemq.core.client.HornetQClientMessageBundle;
|
||||
import org.apache.activemq.core.remoting.impl.TransportConfigurationUtil;
|
||||
import org.apache.activemq.core.remoting.impl.netty.TransportConstants;
|
||||
import org.apache.activemq.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.apache.activemq6.spi.core.remoting.ConnectorFactory}
|
||||
* Creates a TransportConfiguration with a specific name providing the class name of the {@link org.apache.activemq.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.apache.activemq6.spi.core.remoting.ConnectorFactory}
|
||||
* Creates a TransportConfiguration providing the class name of the {@link org.apache.activemq.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.apache.activemq6.spi.core.remoting.ConnectorFactory}
|
||||
* Creates a TransportConfiguration providing the class name of the {@link org.apache.activemq.spi.core.remoting.ConnectorFactory}
|
||||
*
|
||||
* @param className The class name of the ConnectorFactory
|
||||
*/
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue