Tabnine Logo
Broker.getVmConnectorURI
Code IndexAdd Tabnine to your IDE (free)

How to use
getVmConnectorURI
method
in
org.apache.activemq.broker.Broker

Best Java code snippets using org.apache.activemq.broker.Broker.getVmConnectorURI (Showing top 16 results out of 315)

origin: apache/activemq

@Override
public URI getVmConnectorURI() {
  return getNext().getVmConnectorURI();
}
origin: apache/activemq

duplexInboundLocalBroker = NetworkBridgeFactory.createLocalAsyncTransport(brokerService.getBroker().getVmConnectorURI());
duplexInboundLocalBroker.setTransportListener(new DefaultTransportListener() {
origin: apache/activemq

Transport localTransport = NetworkBridgeFactory.createLocalTransport(config, broker.getVmConnectorURI());
Transport remoteBridgeTransport = transport;
if (! (remoteBridgeTransport instanceof ResponseCorrelator)) {
origin: pierre/meteo

public URI getVmConnectorURI() {
  return next.getVmConnectorURI();
}
origin: org.apache.activemq/activemq-all

@Override
public URI getVmConnectorURI() {
  return getNext().getVmConnectorURI();
}
origin: org.apache.activemq/activemq-osgi

@Override
public URI getVmConnectorURI() {
  return getNext().getVmConnectorURI();
}
origin: org.apache.activemq/activemq-broker

@Override
public URI getVmConnectorURI() {
  return getNext().getVmConnectorURI();
}
origin: pierre/meteo

public URI getVmConnectorURI() {
  return getNext().getVmConnectorURI();
}
origin: com.github.hqstevenson.splunk/splunk.jms.activemq

  boolean isAuthorizedVmConnection(ConnectionContext connectionContext, ConnectionInfo connectionInfo) {
    if (connectionInfo.getUserName() == null && connectionInfo.getPassword() == null) {
      Connector connector = connectionContext.getConnector();
      if (connector instanceof TransportConnector) {
        TransportConnector transportConnector = (TransportConnector) connector;
        String connectorName = transportConnector.getName();
        if (connectorName != null && !connectorName.isEmpty()) {
          if (connectorName.startsWith("vm://")) {
            log.debug("isAuthorizedVmConnection(ConnectionContext, ConnectionInfo) returning true for connectorName={}", connectorName);
            return true;
          }
        }
      }
    }

    log.debug("isAuthorizedVmConnection(ConnectionContext, ConnectionInfo) returning false for {}", connectionContext.getBroker().getVmConnectorURI());
    return false;
  }
}
origin: org.apache.activemq/activemq-broker

duplexInboundLocalBroker = NetworkBridgeFactory.createLocalAsyncTransport(brokerService.getBroker().getVmConnectorURI());
duplexInboundLocalBroker.setTransportListener(new DefaultTransportListener() {
origin: org.apache.activemq/activemq-osgi

duplexInboundLocalBroker = NetworkBridgeFactory.createLocalAsyncTransport(brokerService.getBroker().getVmConnectorURI());
duplexInboundLocalBroker.setTransportListener(new DefaultTransportListener() {
origin: org.apache.activemq/activemq-all

duplexInboundLocalBroker = NetworkBridgeFactory.createLocalAsyncTransport(brokerService.getBroker().getVmConnectorURI());
duplexInboundLocalBroker.setTransportListener(new DefaultTransportListener() {
origin: org.apache.activemq/activemq-broker

Transport localTransport = NetworkBridgeFactory.createLocalTransport(config, broker.getVmConnectorURI());
Transport remoteBridgeTransport = transport;
if (! (remoteBridgeTransport instanceof ResponseCorrelator)) {
origin: org.apache.activemq/activemq-all

Transport localTransport = NetworkBridgeFactory.createLocalTransport(config, broker.getVmConnectorURI());
Transport remoteBridgeTransport = transport;
if (! (remoteBridgeTransport instanceof ResponseCorrelator)) {
origin: org.apache.activemq/activemq-osgi

Transport localTransport = NetworkBridgeFactory.createLocalTransport(config, broker.getVmConnectorURI());
Transport remoteBridgeTransport = transport;
if (! (remoteBridgeTransport instanceof ResponseCorrelator)) {
origin: pierre/meteo

URI uri = broker.getVmConnectorURI();
HashMap<String, String> map = new HashMap<String, String>(URISupport.parseParameters(uri));
map.put("network", "true");
org.apache.activemq.brokerBrokergetVmConnectorURI

Popular methods of Broker

  • getAdaptor
    Get a Broker from the Broker Stack that is a particular class
  • getDestinationMap
    return a reference destination map of a region based on the destination type
  • removeDestination
  • commitTransaction
    Commits a transaction.
  • forgetTransaction
    Forgets a transaction.
  • getBrokerService
  • getClients
  • getDestinations
  • getPreparedTransactions
    Gets a list of all the prepared xa transactions.
  • removeConsumer
  • acknowledge
  • addBroker
    A remote Broker connects
  • acknowledge,
  • addBroker,
  • addConnection,
  • addConsumer,
  • addDestination,
  • addDestinationInfo,
  • addProducer,
  • addSession,
  • beginTransaction

Popular in Java

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JComboBox (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now