public static QueueChannelSpec queue(Integer capacity) { return new QueueChannelSpec(capacity); }
@Override protected MessageStoreSpec id(String id) { return (MessageStoreSpec) super.id(id); }
@Override protected QueueChannel doGet() { if (this.capacity != null) { if (this.storeLock != null) { this.queue = new MessageGroupQueue(this.messageGroupStore, this.groupId, this.capacity, this.storeLock); } else { this.queue = new MessageGroupQueue(this.messageGroupStore, this.groupId, this.capacity); } } else if (this.storeLock != null) { this.queue = new MessageGroupQueue(this.messageGroupStore, this.groupId, this.storeLock); } else { this.queue = new MessageGroupQueue(this.messageGroupStore, this.groupId); } ((MessageGroupQueue) this.queue).setPriority( this.messageGroupStore instanceof PriorityCapableChannelMessageStore); return super.doGet(); }
@Bean public MessageChannel jmsOutboundInboundReplyChannel() { return MessageChannels.queue().get(); }
@Bean public QueueChannelSpec wrongMessagesChannel() { return MessageChannels .queue() .wireTap("wrongMessagesWireTapChannel"); }
@Override protected QueueChannel doGet() { if (this.capacity != null) { if (this.storeLock != null) { this.queue = new MessageGroupQueue(this.messageGroupStore, this.groupId, this.capacity, this.storeLock); } else { this.queue = new MessageGroupQueue(this.messageGroupStore, this.groupId, this.capacity); } } else if (this.storeLock != null) { this.queue = new MessageGroupQueue(this.messageGroupStore, this.groupId, this.storeLock); } else { this.queue = new MessageGroupQueue(this.messageGroupStore, this.groupId); } ((MessageGroupQueue) this.queue).setPriority( this.messageGroupStore instanceof PriorityCapableChannelMessageStore); return super.doGet(); }
@Bean public QueueChannel successChannel() { return MessageChannels.queue().get(); }
@Override protected MessageStoreSpec id(String id) { return (MessageStoreSpec) super.id(id); }
public static QueueChannelSpec queue() { return new QueueChannelSpec(); }
@Bean public MessageChannel gatewayError() { return MessageChannels.queue().get(); }
public static QueueChannelSpec queue(String id, Integer capacity) { return queue(capacity).id(id); }
public static QueueChannelSpec queue(Queue<Message<?>> queue) { return new QueueChannelSpec(queue); }
public static QueueChannelSpec queue(String id) { return queue().id(id); }
public static QueueChannelSpec queue(Queue<Message<?>> queue) { return new QueueChannelSpec(queue); }
public static QueueChannelSpec queue(String id) { return queue().id(id); }
public static QueueChannelSpec queue(Integer capacity) { return new QueueChannelSpec(capacity); }
public static QueueChannelSpec queue(String id, Queue<Message<?>> queue) { return queue(queue).id(id); }
public static QueueChannelSpec queue() { return new QueueChannelSpec(); }
public static QueueChannelSpec queue(String id, Queue<Message<?>> queue) { return queue(queue).id(id); }
public static QueueChannelSpec queue(String id, Integer capacity) { return queue(capacity).id(id); }