private String getSubject(MessageContext msgCtxt) throws Exception {
String subject = (String) this.properties.get("subject");
if (subject == null || subject.equals("")) {
return null; // subject is OPTIONAL
}
<BUG>subject = resolvePropertyValue(subject, msgCtxt);
</BUG>
if (subject == null || subject.equals("")) {
return null; // subject is OPTIONAL
}

private String getSubject(MessageContext msgCtxt) throws Exception {
String subject = (String) this.properties.get("subject");
if (subject == null || subject.equals("")) {
return null; // subject is OPTIONAL
}
subject = (String) resolvePropertyValue(subject, msgCtxt);
if (subject == null || subject.equals("")) {
return null; // subject is OPTIONAL
}
