Looks like I had it set up right. Once again stopped by a coding issue that was mascarading as a configuration issue. I just had to look at it a little further. Thanks for the quick reply.
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Peter J. Farrell Sent: Wednesday, November 17, 2010 3:57 PM To: [email protected] Subject: Re: [Mach-II] connecting Mach-II environment properties with coldspring Jon Hirschi said the following on 11/17/2010 05:41 PM: > Is this possible to do? Yes, by default the ColdSpringProperty passes Mach-II properties into the CS bean factory. Property CFCs are loaded in the order they are defined: * Main .xml file * Include .xml files in order they are defined As long as the EnvironmentProperty is loaded before the ColdSpringProperty, then passing values: <bean id="EmailConnector" class="com.industryintel.services.connectors.Email"> <constructor-arg name="fromEmail"> <value>${reportFromEmail}</value> </constructor-arg> <constructor-arg name="timeout"> <value>${emailTimeout}</value> </constructor-arg> <constructor-arg name="receiveServer"> <value>${receiveServer}</value> </constructor-arg> </bean> Using the ${} syntax works. I don't think you need to change anything for this to work. Refs: http://trac.mach-ii.com/machii/wiki/UsingColdSpringWithMach-II#UsingMach-IIP ropertieswithinColdSpring .pjf -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/ -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
