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

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

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

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

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

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

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

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

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

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

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

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

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

    targetDestinationFactory = dest;
  }