private int getExpiresIn(MessageContext msgCtxt) throws IllegalStateException {
String expiry = (String) this.properties.get("expiresIn");
if (expiry == null || expiry.equals("")) {
return 60*60; // one hour
}
<BUG>expiry = resolvePropertyValue(expiry, msgCtxt);
</BUG>
if (expiry == null || expiry.equals("")) {
throw new IllegalStateException("variable " + expiry + " resolves to nothing.");
}

private int getExpiresIn(MessageContext msgCtxt) throws IllegalStateException {
String expiry = (String) this.properties.get("expiresIn");
if (expiry == null || expiry.equals("")) {
return 60*60; // one hour
}
expiry = (String) resolvePropertyValue(expiry, msgCtxt);
if (expiry == null || expiry.equals("")) {
throw new IllegalStateException("variable " + expiry + " resolves to nothing.");
}
