polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2010 the original author or authors.
|
* Copyright 2002-2011 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -190,8 +190,6 @@ public abstract class AbstractPollingEndpoint extends AbstractEndpoint implement
|
|||||||
*/
|
*/
|
||||||
private class Poller implements Runnable {
|
private class Poller implements Runnable {
|
||||||
|
|
||||||
//private final long maxMessagesPerPoll = pollerMetadata.getMaxMessagesPerPoll();
|
|
||||||
|
|
||||||
private final Callable<Boolean> pollingTask;
|
private final Callable<Boolean> pollingTask;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2010 the original author or authors.
|
* Copyright 2002-2011 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -94,11 +94,12 @@ public class JmsOutboundGateway extends AbstractReplyProducingMessageHandler {
|
|||||||
|
|
||||||
private final Object initializationMonitor = new Object();
|
private final Object initializationMonitor = new Object();
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set whether message delivery should be persistent or non-persistent,
|
* Set whether message delivery should be persistent or non-persistent,
|
||||||
* specified as boolean value ("true" or "false"). This will set the delivery
|
* specified as a boolean value ("true" or "false"). This will set the delivery
|
||||||
* mode accordingly, to either "PERSISTENT" (1) or "NON_PERSISTENT" (2).
|
* mode accordingly to either "PERSISTENT" (1) or "NON_PERSISTENT" (2).
|
||||||
* <p>Default it "true" aka delivery mode "PERSISTENT".
|
* <p>The default is "true", i.e. delivery mode "PERSISTENT".
|
||||||
* @see #setDeliveryMode(int)
|
* @see #setDeliveryMode(int)
|
||||||
* @see javax.jms.DeliveryMode#PERSISTENT
|
* @see javax.jms.DeliveryMode#PERSISTENT
|
||||||
* @see javax.jms.DeliveryMode#NON_PERSISTENT
|
* @see javax.jms.DeliveryMode#NON_PERSISTENT
|
||||||
|
|||||||
Reference in New Issue
Block a user