OW2 Consortium joram

Rev

Rev 6406 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6406 Rev 6426
Line 886... Line 886...
886
    properties.put(AdminCommandConstant.INTERCEPTORS_OUT_NEW, newInterceptor);
886
    properties.put(AdminCommandConstant.INTERCEPTORS_OUT_NEW, newInterceptor);
887
    properties.put(AdminCommandConstant.INTERCEPTORS_OUT_OLD, oldInterceptor);
887
    properties.put(AdminCommandConstant.INTERCEPTORS_OUT_OLD, oldInterceptor);
888
    getWrapper().processAdmin(getProxyId(), AdminCommandConstant.CMD_REPLACE_INTERCEPTORS, properties);
888
    getWrapper().processAdmin(getProxyId(), AdminCommandConstant.CMD_REPLACE_INTERCEPTORS, properties);
889
  }
889
  }
890
  
890
  
-
 
891
  /**
-
 
892
   * Set redeliveryDelay attribute.
-
 
893
   * 
-
 
894
   * @param redeliveryDelay The delay use to wait before re-delivering messages after a deny.
-
 
895
   * @throws ConnectException
-
 
896
   * @throws AdminException
-
 
897
   */
-
 
898
  public void setRedeliveryDelay(int redeliveryDelay) throws ConnectException, AdminException {
-
 
899
    Properties properties = new Properties();
-
 
900
    properties.put(AdminCommandConstant.REDELIVERY_DELAY, "" + redeliveryDelay);
-
 
901
    getWrapper().processAdmin(getProxyId(), AdminCommandConstant.CMD_SET_REDELIVERY_DELAY, properties);
-
 
902
  }
-
 
903

891
  /**
904
  /**
892
   * @deprecated
905
   * @deprecated
893
   */
906
   */
894
  public Message readMessage(String subName,
907
  public Message readMessage(String subName,
895
                             String msgId) throws AdminException, ConnectException, JMSException {
908
                             String msgId) throws AdminException, ConnectException, JMSException {