Package org.apache.qpid.amqp_1_0.transport

Examples of org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint


    @Override
    public final Message_1_0 convert(M message, VirtualHost vhost)
    {

        SectionEncoder sectionEncoder = new SectionEncoderImpl(_typeRegistry);
        return new Message_1_0(convertToStoredMessage(message, sectionEncoder));
    }
View Full Code Here


        Container container = new Container(_broker.getId().toString());

        VirtualHost virtualHost = _broker.getVirtualHostRegistry().getVirtualHost((String)_broker.getAttribute(Broker.DEFAULT_VIRTUAL_HOST));
        SubjectCreator subjectCreator = _broker.getSubjectCreator(getLocalAddress());
        _conn = new ConnectionEndpoint(container, asSaslServerProvider(subjectCreator));

        Map<Symbol,Object> serverProperties = new LinkedHashMap<Symbol, Object>();
        serverProperties.put(Symbol.valueOf(ServerPropertyNames.PRODUCT), QpidProperties.getProductName());
        serverProperties.put(Symbol.valueOf(ServerPropertyNames.VERSION), QpidProperties.getReleaseVersion());
        serverProperties.put(Symbol.valueOf(ServerPropertyNames.QPID_BUILD), QpidProperties.getBuildVersion());
View Full Code Here

                public String getName()
                {
                    return username;
                }
            };
            _conn = new ConnectionEndpoint(container, principal, password);
            if(channelMax >= 0)
            {
                _conn.setChannelMax((short)channelMax);
            }
            _conn.setDesiredMaxFrameSize(UnsignedInteger.valueOf(maxFrameSize));
View Full Code Here

                public String getName()
                {
                    return username;
                }
            };
            _conn = new ConnectionEndpoint(container, principal, password);
            _conn.setDesiredMaxFrameSize(UnsignedInteger.valueOf(maxFrameSize));
            _conn.setRemoteAddress(s.getRemoteSocketAddress());
            _conn.setRemoteHostname(remoteHostname);

View Full Code Here

        _network = network;
        _sender = sender;

        Container container = new Container(_appRegistry.getBrokerId().toString());

        _conn = new ConnectionEndpoint(container, asSaslServerProvider(_appRegistry.getSubjectCreator(
                getLocalAddress())));
        _conn.setConnectionEventListener(new Connection_1_0(_appRegistry, _conn, _connectionId));
        _conn.setFrameOutputHandler(this);
        _conn.setRemoteAddress(_network.getRemoteAddress());
View Full Code Here

        _network = network;
        _sender = sender;

        Container container = new Container(_appRegistry.getBrokerId().toString());

        _conn = new ConnectionEndpoint(container, asSaslServerProvider(ApplicationRegistry.getInstance()
                .getSubjectCreator(getLocalAddress())));
        _conn.setConnectionEventListener(new Connection_1_0(_appRegistry, _conn, _connectionId));
        _conn.setRemoteAddress(getRemoteAddress());

View Full Code Here

                public String getName()
                {
                    return username;
                }
            };
            _conn = new ConnectionEndpoint(container, principal, password);
            _conn.setDesiredMaxFrameSize(UnsignedInteger.valueOf(maxFrameSize));
            _conn.setRemoteAddress(s.getRemoteSocketAddress());
            _conn.setRemoteHostname(remoteHostname);

View Full Code Here

        _network = network;
        _sender = sender;

        Container container = new Container(_appRegistry.getBrokerId().toString());

        _conn = new ConnectionEndpoint(container, asSaslServerProvider(_appRegistry.getAuthenticationManager(
                getLocalAddress())));
        _conn.setConnectionEventListener(new Connection_1_0(_appRegistry, _conn, _connectionId));
        _conn.setFrameOutputHandler(this);
        _conn.setRemoteAddress(_network.getRemoteAddress());
View Full Code Here

        _network = network;
        _sender = sender;

        Container container = new Container(_appRegistry.getBrokerId().toString());

        _conn = new ConnectionEndpoint(container, asSaslServerProvider(ApplicationRegistry.getInstance()
                .getAuthenticationManager(getLocalAddress())));
        _conn.setConnectionEventListener(new Connection_1_0(_appRegistry, _conn, _connectionId));
        _conn.setRemoteAddress(getRemoteAddress());

View Full Code Here

        Container container = new Container(_broker.getId().toString());

        VirtualHost virtualHost = _broker.getVirtualHostRegistry().getVirtualHost((String)_broker.getAttribute(Broker.DEFAULT_VIRTUAL_HOST));

        _conn = new ConnectionEndpoint(container, asSaslServerProvider(_broker.getSubjectCreator(
                getLocalAddress())));

        Map<Symbol,Object> serverProperties = new LinkedHashMap<Symbol, Object>();
        serverProperties.put(Symbol.valueOf(ServerPropertyNames.PRODUCT), QpidProperties.getProductName());
        serverProperties.put(Symbol.valueOf(ServerPropertyNames.VERSION), QpidProperties.getReleaseVersion());
View Full Code Here

TOP

Related Classes of org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.