Tabnine Logo
SubscriptionInfo.getSubscribedDestination
Code IndexAdd Tabnine to your IDE (free)

How to use
getSubscribedDestination
method
in
org.apache.activemq.command.SubscriptionInfo

Best Java code snippets using org.apache.activemq.command.SubscriptionInfo.getSubscribedDestination (Showing top 20 results out of 315)

Refine searchRefine arrow

  • SubscriptionInfo.getSelector
  • SubscriptionInfo.getClientId
  • SubscriptionInfo.getDestination
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  SubscriptionInfo info = (SubscriptionInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getClientId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalString1(info.getSelector(), bs);
  rc += tightMarshalString1(info.getSubscriptionName(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getSubscribedDestination(), bs);
  return rc + 0;
}
origin: apache/activemq

public ConsumerInfo createInactiveConsumerInfo(SubscriptionInfo info) {
  ConsumerInfo rc = new ConsumerInfo();
  rc.setSelector(info.getSelector());
  rc.setSubscriptionName(info.getSubscriptionName());
  rc.setDestination(info.getSubscribedDestination());
  rc.setConsumerId(createConsumerId());
  rc.setNoLocal(info.isNoLocal());
  return rc;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  SubscriptionInfo info = (SubscriptionInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getClientId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalString1(info.getSelector(), bs);
  rc += tightMarshalString1(info.getSubscriptionName(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getSubscribedDestination(), bs);
  return rc + 0;
}
origin: pierre/meteo

private ConsumerInfo createInactiveConsumerInfo(SubscriptionInfo info) {
  ConsumerInfo rc = new ConsumerInfo();
  rc.setSelector(info.getSelector());
  rc.setSubscriptionName(info.getSubscriptionName());
  rc.setDestination(info.getSubscribedDestination());
  rc.setConsumerId(createConsumerId());
  return rc;
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    SubscriptionInfo info = (SubscriptionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalString(info.getSelector(), dataOut);
    looseMarshalString(info.getSubscriptionName(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getSubscribedDestination(), dataOut);

  }
}
origin: org.apache.activemq/activemq-broker

public ConsumerInfo createInactiveConsumerInfo(SubscriptionInfo info) {
  ConsumerInfo rc = new ConsumerInfo();
  rc.setSelector(info.getSelector());
  rc.setSubscriptionName(info.getSubscriptionName());
  rc.setDestination(info.getSubscribedDestination());
  rc.setConsumerId(createConsumerId());
  rc.setNoLocal(info.isNoLocal());
  return rc;
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    SubscriptionInfo info = (SubscriptionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalString(info.getSelector(), dataOut);
    looseMarshalString(info.getSubscriptionName(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getSubscribedDestination(), dataOut);

  }
}
origin: org.apache.activemq/activemq-osgi

public ConsumerInfo createInactiveConsumerInfo(SubscriptionInfo info) {
  ConsumerInfo rc = new ConsumerInfo();
  rc.setSelector(info.getSelector());
  rc.setSubscriptionName(info.getSubscriptionName());
  rc.setDestination(info.getSubscribedDestination());
  rc.setConsumerId(createConsumerId());
  rc.setNoLocal(info.isNoLocal());
  return rc;
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    SubscriptionInfo info = (SubscriptionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalString(info.getSelector(), dataOut);
    looseMarshalString(info.getSubcriptionName(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getSubscribedDestination(), dataOut);

  }
}
origin: org.apache.activemq/activemq-all

public ConsumerInfo createInactiveConsumerInfo(SubscriptionInfo info) {
  ConsumerInfo rc = new ConsumerInfo();
  rc.setSelector(info.getSelector());
  rc.setSubscriptionName(info.getSubscriptionName());
  rc.setDestination(info.getSubscribedDestination());
  rc.setConsumerId(createConsumerId());
  rc.setNoLocal(info.isNoLocal());
  return rc;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  SubscriptionInfo info = (SubscriptionInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getClientId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalString1(info.getSelector(), bs);
  rc += tightMarshalString1(info.getSubscriptionName(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getSubscribedDestination(), bs);
  return rc + 0;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  SubscriptionInfo info = (SubscriptionInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getClientId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalString1(info.getSelector(), bs);
  rc += tightMarshalString1(info.getSubcriptionName(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getSubscribedDestination(), bs);
  return rc + 0;
}
origin: apache/activemq

/**
 * Write the booleans that this object uses to a BooleanStream
 */
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
  SubscriptionInfo info = (SubscriptionInfo)o;
  int rc = super.tightMarshal1(wireFormat, o, bs);
  rc += tightMarshalString1(info.getClientId(), bs);
  rc += tightMarshalCachedObject1(wireFormat, (DataStructure)info.getDestination(), bs);
  rc += tightMarshalString1(info.getSelector(), bs);
  rc += tightMarshalString1(info.getSubcriptionName(), bs);
  rc += tightMarshalNestedObject1(wireFormat, (DataStructure)info.getSubscribedDestination(), bs);
  return rc + 0;
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    SubscriptionInfo info = (SubscriptionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalString(info.getSelector(), dataOut);
    looseMarshalString(info.getSubcriptionName(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getSubscribedDestination(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    SubscriptionInfo info = (SubscriptionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalString(info.getSelector(), dataOut);
    looseMarshalString(info.getSubscriptionName(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getSubscribedDestination(), dataOut);

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    SubscriptionInfo info = (SubscriptionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalString(info.getSelector(), dataOut);
    looseMarshalString(info.getSubcriptionName(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getSubscribedDestination(), dataOut);
    dataOut.writeBoolean(info.isNoLocal());

  }
}
origin: apache/activemq

  /**
   * Write the booleans that this object uses to a BooleanStream
   */
  public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {

    SubscriptionInfo info = (SubscriptionInfo)o;

    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalString(info.getClientId(), dataOut);
    looseMarshalCachedObject(wireFormat, (DataStructure)info.getDestination(), dataOut);
    looseMarshalString(info.getSelector(), dataOut);
    looseMarshalString(info.getSubcriptionName(), dataOut);
    looseMarshalNestedObject(wireFormat, (DataStructure)info.getSubscribedDestination(), dataOut);
    dataOut.writeBoolean(info.isNoLocal());

  }
}
origin: apache/activemq

s.setString(1, info.getDestination().getQualifiedName());
s.setString(2, info.getClientId());
s.setString(3, info.getSubscriptionName());
s.setString(4, info.getSelector());
s.setLong(5, lastMessageId);
s.setString(6, info.getSubscribedDestination().getQualifiedName());
s.setLong(7, priority);
  throw new IOException("Could not create durable subscription for: " + info.getClientId());
origin: apache/activemq

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  SubscriptionInfo info = (SubscriptionInfo)o;
  tightMarshalString2(info.getClientId(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  tightMarshalString2(info.getSelector(), dataOut, bs);
  tightMarshalString2(info.getSubcriptionName(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getSubscribedDestination(), dataOut, bs);
}
origin: apache/activemq

/**
 * Write a object instance to data output stream
 *
 * @param o the instance to be marshaled
 * @param dataOut the output stream
 * @throws IOException thrown if an error occurs
 */
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
  super.tightMarshal2(wireFormat, o, dataOut, bs);
  SubscriptionInfo info = (SubscriptionInfo)o;
  tightMarshalString2(info.getClientId(), dataOut, bs);
  tightMarshalCachedObject2(wireFormat, (DataStructure)info.getDestination(), dataOut, bs);
  tightMarshalString2(info.getSelector(), dataOut, bs);
  tightMarshalString2(info.getSubcriptionName(), dataOut, bs);
  tightMarshalNestedObject2(wireFormat, (DataStructure)info.getSubscribedDestination(), dataOut, bs);
}
org.apache.activemq.commandSubscriptionInfogetSubscribedDestination

Javadoc

The destination the client originally subscribed to.. This may not match the getDestination method if the subscribed destination uses patterns or composites. If the subscribed destinationis not set, this just ruturns the desitination.

Popular methods of SubscriptionInfo

  • getClientId
  • getSubscriptionName
  • <init>
  • getSelector
  • setClientId
  • setDestination
  • getDestination
    This is the a resolved destination that the subscription is receiving messages from. This will never
  • setSelector
  • setSubscribedDestination
  • setSubscriptionName
  • getSubcriptionName
  • setSubcriptionName
  • getSubcriptionName,
  • setSubcriptionName,
  • isNoLocal,
  • setNoLocal

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • putExtra (Intent)
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • JFileChooser (javax.swing)
  • From CI to AI: The AI layer in your organization
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