I am writing a custom mailet and can't figure out why my init params aren't
showing up. I am compiling source and my config files and jars are showing
up in james.sar. I have searched this list and Google with no luck. The
mailet is being called and processing like I would expect.
Here is the snippet from my config file:
<mailet match="All" class="EmailBounce">
<queue>Some Name</queue>
<jmsProviderUrl>Some Name</jmsProviderUrl>
</mailet>
My init() from the Mailet
public void init() throws MessagingException {
super.init();
log("Initializing SMTEmailBounce Mailet: ");
queueName = getInitParameter("queue");
jmsProviderUrl = getInitParameter("jmsProviderUrl");
log("Mailet Params: " + jmsProviderUrl + "|" + queueName);
log("Getting all init params");
Iterator iter = getInitParameterNames();
while(iter.hasNext()) {
log("Param Names: " + iter.next());
}
}
Any help is apprecited,
Thanks,
James
--
View this message in context:
http://www.nabble.com/Mailet-Init-Params-tf2424653.html#a6760072
Sent from the James - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]