类的使用
org.springframework.jms.listener.adapter.JmsResponse
使用JmsResponse的程序包 程序包 说明 org.springframework.jms.listener.adapter Message listener adapter mechanism that delegates to target listener methods, converting messages to appropriate message content types (such as String or byte array) that get passed into listener methods.org.springframework.jms.listener.adapter中JmsResponse的使用
返回JmsResponse的org.springframework.jms.listener.adapter中的方法 修饰符和类型 方法 说明 static <T> JmsResponse<T>
JmsResponse. forDestination(T result, Destination destination)
Create aJmsResponse
targeting the specifiedDestination
.static <T> JmsResponse<T>
JmsResponse. forQueue(T result, String queueName)
Create aJmsResponse
targeting the queue with the specified name.static <T> JmsResponse<T>
JmsResponse. forTopic(T result, String topicName)
Create aJmsResponse
targeting the topic with the specified name.