so something like: <p:TestICTPInterceptor dataSource="#derby-ds"/>
and make sure your TestICTPInterceptor has a setDataSource(DataSource ds) method. On 11/20/06, J. Patrick Bedell <[EMAIL PROTECTED]> wrote:
Hi, I'm trying to utilize (in the attached activemq configuration file) the derby-ds DataSource that is commented out in the default configuration, which has the bean element <bean id="derby-ds" class="org.apache.derby.jdbc.EmbeddedDataSource"> <property name="databaseName" value="derbydb"/> <property name="createDatabase" value="create"/> </bean> I'm also writing an interceptor that extends BrokerFilter, so that I can have an ActiveMQ-specific plugin. My question is, how would I obtain the "derby-ds" DataSource in my BrokerFilter-based plugin? (I have the suspicion that this is an extremely simple question, but I don't know the answer and I'm not familiar enough with Spring to find it. :) Thanks! -- J. Patrick Bedell [EMAIL PROTECTED] http://infoeng.sourceforge.net http://rothbardix.blogspot.com
-- Regards, Hiram Blog: http://hiramchirino.com