[AMQ-9239] jakarta.jms - activemq-runtime-config, activemq-shiro changes

This commit is contained in:
Matt Pavlovich 2023-03-30 11:36:35 -05:00
parent 64cbba0417
commit 4faad74272
8 changed files with 21 additions and 21 deletions

View File

@ -20,7 +20,7 @@ import org.apache.activemq.util.IntrospectionSupport;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import javax.annotation.PostConstruct; import jakarta.annotation.PostConstruct;
import javax.xml.bind.JAXBElement; import javax.xml.bind.JAXBElement;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -18,8 +18,8 @@ package org.apache.activemq;
import static org.junit.Assert.fail; import static org.junit.Assert.fail;
import javax.jms.JMSException; import jakarta.jms.JMSException;
import javax.jms.Session; import jakarta.jms.Session;
public abstract class AbstractAuthorizationTest extends RuntimeConfigTestSupport { public abstract class AbstractAuthorizationTest extends RuntimeConfigTestSupport {

View File

@ -23,10 +23,10 @@ import static org.junit.Assert.assertNull;
import java.util.Collections; import java.util.Collections;
import java.util.Map; import java.util.Map;
import javax.jms.Message; import jakarta.jms.Message;
import javax.jms.MessageProducer; import jakarta.jms.MessageProducer;
import javax.jms.Session; import jakarta.jms.Session;
import javax.jms.TextMessage; import jakarta.jms.TextMessage;
/** /**
* *

View File

@ -16,8 +16,8 @@
*/ */
package org.apache.activemq; package org.apache.activemq;
import javax.jms.JMSException; import jakarta.jms.JMSException;
import javax.jms.Session; import jakarta.jms.Session;
import org.junit.Test; import org.junit.Test;
import static org.junit.Assert.assertTrue; import static org.junit.Assert.assertTrue;

View File

@ -16,7 +16,7 @@
*/ */
package org.apache.activemq; package org.apache.activemq;
import javax.jms.Session; import jakarta.jms.Session;
import org.apache.activemq.command.ActiveMQQueue; import org.apache.activemq.command.ActiveMQQueue;
import org.apache.activemq.command.ActiveMQTopic; import org.apache.activemq.command.ActiveMQTopic;

View File

@ -23,8 +23,8 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import javax.jms.JMSException; import jakarta.jms.JMSException;
import javax.jms.Session; import jakarta.jms.Session;
import org.apache.activemq.ActiveMQConnection; import org.apache.activemq.ActiveMQConnection;
import org.apache.activemq.ActiveMQConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory;

View File

@ -25,7 +25,7 @@ import java.util.HashSet;
import java.util.Set; import java.util.Set;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import javax.jms.Session; import jakarta.jms.Session;
import org.apache.activemq.ActiveMQConnection; import org.apache.activemq.ActiveMQConnection;
import org.apache.activemq.ActiveMQConnectionFactory; import org.apache.activemq.ActiveMQConnectionFactory;

View File

@ -36,13 +36,13 @@ import org.apache.shiro.realm.text.IniRealm;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import javax.jms.Connection; import jakarta.jms.Connection;
import javax.jms.ConnectionFactory; import jakarta.jms.ConnectionFactory;
import javax.jms.Destination; import jakarta.jms.Destination;
import javax.jms.JMSException; import jakarta.jms.JMSException;
import javax.jms.MessageConsumer; import jakarta.jms.MessageConsumer;
import javax.jms.MessageProducer; import jakarta.jms.MessageProducer;
import javax.jms.Session; import jakarta.jms.Session;
/** /**
* @since 5.10.0 * @since 5.10.0
@ -390,7 +390,7 @@ public class ShiroPluginTest extends TestSupport {
/** /**
* Creates a connection, authenticating with the specified username and password. * Creates a connection, authenticating with the specified username and password.
* *
* @see org.apache.activemq.test.JmsResourceProvider#createConnection(javax.jms.ConnectionFactory) * @see org.apache.activemq.test.JmsResourceProvider#createConnection(jakarta.jms.ConnectionFactory)
*/ */
public Connection createConnection(ConnectionFactory cf, String username, String password) throws JMSException { public Connection createConnection(ConnectionFactory cf, String username, String password) throws JMSException {
Connection connection = cf.createConnection(username, password); Connection connection = cf.createConnection(username, password);