Codota Logo
JmsQueueEndpoint.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.apache.camel.component.jms.JmsQueueEndpoint
constructor

Best Java code snippets using org.apache.camel.component.jms.JmsQueueEndpoint.<init> (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: org.apache.camel/camel-jms

protected JmsEndpoint createQueueEndpoint(String uri, JmsComponent component, String subject, JmsConfiguration configuration, QueueBrowseStrategy queueBrowseStrategy) {
  return new JmsQueueEndpoint(uri, component, subject, configuration, queueBrowseStrategy);
}
origin: org.apache.camel/camel-jms

/**
 * Returns a new JMS endpoint for the given JMS destination
 */
public static JmsEndpoint newInstance(Destination destination) throws JMSException {
  if (destination instanceof TemporaryQueue) {
    return new JmsTemporaryQueueEndpoint((TemporaryQueue) destination);
  } else if (destination instanceof TemporaryTopic) {
    return new JmsTemporaryTopicEndpoint((TemporaryTopic) destination);
  } else if (destination instanceof Queue) {
    return new JmsQueueEndpoint((Queue) destination);
  } else {
    return new JmsEndpoint((Topic) destination);
  }
}
origin: org.apache.activemq/activemq-all

protected void addQueue(ActiveMQQueue queue) throws Exception {
  String queueUri = getQueueUri(queue);
  ActiveMQComponent jmsComponent = getComponent();
  Endpoint endpoint = new JmsQueueEndpoint(queueUri, jmsComponent, queue.getPhysicalName(), jmsComponent.getConfiguration());
  camelContext.addEndpoint(queueUri, endpoint);
}
origin: org.apache.activemq/activemq-camel

protected void addQueue(ActiveMQQueue queue) throws Exception {
  String queueUri = getQueueUri(queue);
  ActiveMQComponent jmsComponent = getComponent();
  Endpoint endpoint = new JmsQueueEndpoint(queueUri, jmsComponent, queue.getPhysicalName(), jmsComponent.getConfiguration());
  camelContext.addEndpoint(queueUri, endpoint);
}
org.apache.camel.component.jmsJmsQueueEndpoint<init>

Popular methods of JmsQueueEndpoint

  • createExchange
  • createQueueBrowseStrategy
  • getConfiguration
  • getDestinationName
  • getMaximumBrowseSize
  • getSelector
  • setDestination
  • setDestinationType

Popular in Java

  • Making http post requests using okhttp
  • getExternalFilesDir (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • BitSet (java.util)
    This class implements a vector of bits that grows as needed. Each component of the bit set has a boo
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now