Are you sure you really have this in config: <queue>Some Name</queue> <jmsProviderUrl>Some Name</jmsProviderUrl>
bye Norman Etewa schrieb: > I am using Version 2.2.0 > > Yes, I am extending GenericMailet . > > Yes, here is the log output > 11/10/06 10:37:21 INFO James.Mailet: SMTEmailBounce: Initializing > SMTEmailBounce Mailet: > 11/10/06 10:37:21 INFO James.Mailet: SMTEmailBounce: Mailet Params: > null|null > 11/10/06 10:37:21 INFO James.Mailet: SMTEmailBounce: getting init params > > http://www.nabble.com/file/3604/SMTEmailBounce.java SMTEmailBounce.java > > > Stefano Bagnara-2 wrote: > >> What version of james are you using? >> Are you extending GenericMailet ? init() is only available in >> GenericMailet extensions and not in the Mailet interface.. >> >> Do you see the logs you added? >> >> Stefano >> >> Etewa wrote: >> >>> 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 >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]