/** |
* A "Sender Pattern, contrai(nin)ting which postprocessor will be used. |
* on which core. on such sample -> |
* a spring message post processor on a apache mq core. |
* |
* @author josecanovamauger. |
*/ |
package org.nanotek.mq; |
import javax.jms.Destination; |
import org.nanotek.Kong; |
import org.nanotek.mq.send.Sender; |
import org.springframework.stereotype.Component; |
import org.springframework.amqp.core.MessagePostProcessor; |
@Component |
public abstract class QueueSender<M extends MessagePostProcessor ,K extends Kong<String>> implements Sender<MessagePostProcessor ,Kong<String>> |
// manda rindo ou manda chorando, = melhor mandar chorando |
{ |
protected Destination destination; |
@Override |
public Destination getDestination() { |
return null; |
} |
} |
Tuesday, October 1, 2013
Queue Sender Interface -> Iraq’s Months of Sectarian Violence May Lead to a Civil War
Location:
North America