use of nl.nn.adapterframework.configuration.ConfigurationWarnings in project iaf by ibissource.
the class ReceiverBase method setInProcessStorage.
/**
* Sets the inProcessStorage.
* @param inProcessStorage The inProcessStorage to set
* @deprecated
*/
protected void setInProcessStorage(ITransactionalStorage inProcessStorage) {
ConfigurationWarnings configWarnings = ConfigurationWarnings.getInstance();
String msg = getLogPrefix() + "In-Process Storage is not used anymore. Please remove from configuration.";
configWarnings.add(log, msg);
// We do not use an in-process storage anymore, but we temporarily
// store it if it's set by the configuration.
// During configure, we check if we need to use the in-process storage
// as error-storage.
this.tmpInProcessStorage = inProcessStorage;
}
use of nl.nn.adapterframework.configuration.ConfigurationWarnings in project iaf by ibissource.
the class ReceiverBase method setTransacted.
/**
* Controls the use of XA-transactions.
*/
public void setTransacted(boolean transacted) {
// this.transacted = transacted;
ConfigurationWarnings configWarnings = ConfigurationWarnings.getInstance();
if (transacted) {
String msg = getLogPrefix() + "implementing setting of transacted=true as transactionAttribute=Required";
configWarnings.add(log, msg);
setTransactionAttributeNum(TransactionDefinition.PROPAGATION_REQUIRED);
} else {
String msg = getLogPrefix() + "implementing setting of transacted=false as transactionAttribute=Supports";
configWarnings.add(log, msg);
setTransactionAttributeNum(TransactionDefinition.PROPAGATION_SUPPORTS);
}
}
use of nl.nn.adapterframework.configuration.ConfigurationWarnings in project iaf by ibissource.
the class PasswordHashPipe method configure.
public void configure() throws ConfigurationException {
super.configure();
if (StringUtils.isNotEmpty(getHashSessionKey())) {
if (findForward(FAILURE_FORWARD_NAME) == null) {
ConfigurationWarnings configWarnings = ConfigurationWarnings.getInstance();
configWarnings.add(log, getLogPrefix(null) + "has a hashSessionKey attribute but forward failure is not configured");
}
}
}
use of nl.nn.adapterframework.configuration.ConfigurationWarnings in project iaf by ibissource.
the class PostboxSenderPipe method configure.
public void configure() throws ConfigurationException {
ConfigurationWarnings configWarnings = ConfigurationWarnings.getInstance();
String msg = getLogPrefix(null) + "The class [" + getClass().getName() + "] has been deprecated. Please change to [" + getClass().getSuperclass().getName() + "]";
configWarnings.add(log, msg);
super.configure();
}
use of nl.nn.adapterframework.configuration.ConfigurationWarnings in project iaf by ibissource.
the class XPathPipe method configure.
public void configure() throws ConfigurationException {
ConfigurationWarnings configWarnings = ConfigurationWarnings.getInstance();
String msg = getLogPrefix(null) + "The class [" + getClass().getName() + "] has been deprecated. Please change to [" + getClass().getSuperclass().getName() + "]";
configWarnings.add(log, msg);
super.configure();
}
Aggregations