congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
MessageProperties.setTargetMethod
Code IndexAdd Tabnine to your IDE (free)

How to use
setTargetMethod
method
in
org.springframework.amqp.core.MessageProperties

Best Java code snippets using org.springframework.amqp.core.MessageProperties.setTargetMethod (Showing top 2 results out of 315)

origin: spring-projects/spring-amqp

@Override
protected Object extractPayload(org.springframework.amqp.core.Message message) {
  MessageProperties messageProperties = message.getMessageProperties();
  if (this.bean != null) {
    messageProperties.setTargetBean(this.bean);
  }
  if (this.method != null) {
    messageProperties.setTargetMethod(this.method);
    if (this.inferredArgumentType != null) {
      messageProperties.setInferredArgumentType(this.inferredArgumentType);
    }
  }
  return extractMessage(message);
}
origin: org.springframework.amqp/spring-rabbit

@Override
protected Object extractPayload(org.springframework.amqp.core.Message message) {
  MessageProperties messageProperties = message.getMessageProperties();
  if (this.bean != null) {
    messageProperties.setTargetBean(this.bean);
  }
  if (this.method != null) {
    messageProperties.setTargetMethod(this.method);
    if (this.inferredArgumentType != null) {
      messageProperties.setInferredArgumentType(this.inferredArgumentType);
    }
  }
  return extractMessage(message);
}
org.springframework.amqp.coreMessagePropertiessetTargetMethod

Javadoc

Set the target method when using a method-level @RabbitListener.

Popular methods of MessageProperties

  • getDeliveryTag
  • <init>
  • setHeader
  • getHeaders
  • setExpiration
  • setContentType
  • getReplyTo
  • getCorrelationId
  • getMessageId
  • getReceivedRoutingKey
  • setCorrelationId
  • setDeliveryMode
  • setCorrelationId,
  • setDeliveryMode,
  • setReplyTo,
  • getConsumerQueue,
  • getReceivedExchange,
  • getContentType,
  • getExpiration,
  • setContentEncoding,
  • setMessageId,
  • getAppId

Popular in Java

  • Creating JSON documents from java classes using gson
  • scheduleAtFixedRate (Timer)
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Join (org.hibernate.mapping)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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