mirror of https://github.com/apache/activemq.git
Tagged the Transport classes as deprecated. git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1439458 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8e6ce9f7d7
commit
d87073b144
|
@ -47,13 +47,14 @@ import org.apache.activemq.transport.tcp.TcpTransport;
|
|||
import org.apache.activemq.util.IOExceptionSupport;
|
||||
import org.apache.activemq.util.ServiceStopper;
|
||||
import org.apache.activemq.wireformat.WireFormat;
|
||||
import org.jabber.etherx.streams.Features;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.jabber.etherx.streams.Features;
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
public class XmppTransport extends TcpTransport {
|
||||
protected static final QName ATTRIBUTE_TO = new QName("to");
|
||||
|
||||
|
@ -141,6 +142,7 @@ public class XmppTransport extends TcpTransport {
|
|||
try {
|
||||
XMLInputFactory xif = XMLInputFactory.newInstance();
|
||||
xif.setXMLReporter(new XMLReporter() {
|
||||
@Override
|
||||
public void report(String message, String errorType, Object relatedInformation, Location location) throws XMLStreamException {
|
||||
LOG.warn(message + " errorType: " + errorType + " relatedInfo: " + relatedInformation);
|
||||
}
|
||||
|
|
|
@ -31,10 +31,12 @@ import org.apache.activemq.transport.tcp.TcpTransportServer;
|
|||
import org.apache.activemq.wireformat.WireFormat;
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
public class XmppTransportFactory extends TcpTransportFactory {
|
||||
|
||||
@Override
|
||||
protected String getDefaultWireFormatType() {
|
||||
return "xmpp";
|
||||
}
|
||||
|
|
|
@ -29,8 +29,9 @@ import org.apache.activemq.transport.tcp.TcpTransportServer;
|
|||
import org.apache.activemq.wireformat.WireFormat;
|
||||
|
||||
/**
|
||||
*
|
||||
* @deprecated
|
||||
*/
|
||||
@Deprecated
|
||||
public class XmppTransportServer extends TcpTransportServer {
|
||||
|
||||
public XmppTransportServer(TcpTransportFactory transportFactory, URI location, ServerSocketFactory serverSocketFactory) throws IOException, URISyntaxException {
|
||||
|
|
Loading…
Reference in New Issue