예제 #1
0
  public synchronized void setFailureRetryInterval(final long interval) {
    checkBridgeNotStarted();
    if (interval < 1) {
      throw new IllegalArgumentException("FailureRetryInterval must be >= 1");
    }

    failureRetryInterval = interval;
  }
예제 #2
0
  public synchronized void setTargetConnectionFactoryFactory(final ConnectionFactoryFactory cff) {
    checkBridgeNotStarted();
    JMSBridgeImpl.checkNotNull(cff, "TargetConnectionFactoryFactory");

    targetCff = cff;
  }
예제 #3
0
 public void setTransactionManagerLocatorClass(final String transactionManagerLocatorClass) {
   checkBridgeNotStarted();
   this.transactionManagerLocatorClass = transactionManagerLocatorClass;
 }
예제 #4
0
  public synchronized void setClientID(final String clientID) {
    checkBridgeNotStarted();

    this.clientID = clientID;
  }
예제 #5
0
 public synchronized void setSubscriptionName(final String subname) {
   checkBridgeNotStarted();
   subName = subname;
 }
예제 #6
0
  public synchronized void setMaxBatchTime(final long time) {
    checkBridgeNotStarted();
    JMSBridgeImpl.checkValidValue(time, "MaxBatchTime");

    maxBatchTime = time;
  }
예제 #7
0
  public synchronized void setMaxBatchSize(final int size) {
    checkBridgeNotStarted();
    JMSBridgeImpl.checkMaxBatchSize(size);

    maxBatchSize = size;
  }
예제 #8
0
  public synchronized void setQualityOfServiceMode(final QualityOfServiceMode mode) {
    checkBridgeNotStarted();
    JMSBridgeImpl.checkNotNull(mode, "QualityOfServiceMode");

    qualityOfServiceMode = mode;
  }
예제 #9
0
  public synchronized void setMaxRetries(final int retries) {
    checkBridgeNotStarted();
    JMSBridgeImpl.checkValidValue(retries, "MaxRetries");

    maxRetries = retries;
  }
예제 #10
0
  public synchronized void setSelector(final String selector) {
    checkBridgeNotStarted();

    this.selector = selector;
  }
예제 #11
0
  public synchronized void setTargetPassword(final String pwd) {
    checkBridgeNotStarted();

    targetPassword = pwd;
  }
예제 #12
0
  public synchronized void setTargetUsername(final String name) {
    checkBridgeNotStarted();

    targetUsername = name;
  }
예제 #13
0
  public synchronized void setSourcePassword(final String pwd) {
    checkBridgeNotStarted();

    sourcePassword = pwd;
  }
예제 #14
0
  public synchronized void setSourceUsername(final String name) {
    checkBridgeNotStarted();

    sourceUsername = name;
  }
예제 #15
0
  public void setTargetDestinationFactory(final DestinationFactory dest) {
    checkBridgeNotStarted();
    JMSBridgeImpl.checkNotNull(dest, "TargetDestinationFactory");

    targetDestinationFactory = dest;
  }