Try switch to <property name="persistenceAdapter" ref="myPersistenceAdapter"/> and move the nested bean out to the top level (so a peer of 'broker')? This is a pure Spring discussion now so you could always try the Spring forums if you have questions on spring or the spring IDE
On 7/12/06, Eugene Prokopiev <[EMAIL PROTECTED]> wrote:
> <bean class="org.apache.activemq.store.PersistenceAdapterFactoryBean"> > <property name="journalLogFiles" value="...."/> > <property> name="dataSource" ref="postgres-ds"/> > .... > > etc > > If you use the Spring IDE plugin it will pop up all the available > properties for you to save you hunting around the code to find what > properties are available on what POJOs. It's very interesting. I have this spring configuration: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="broker" class="org.apache.activemq.broker.BrokerService" init-method="start" destroy-method="stop"> <property name="persistent" value="true"/> <property name="transportConnectorURIs"> <list> <value>tcp://localhost:61234</value> </list> </property> <property name="persistenceAdapter"> <bean id="myPersistenceAdapter" class="org.apache.activemq.store.PersistenceAdapterFactoryBean"> <property name="journalLogFiles" value="5"/> <property name="dataDirectory" value="amq-data"/> <property name="dataSource"> <bean class=" org.postgresql.ds.PGSimpleDataSource"> <property name="serverName" value="ats-manager"/> <property name="databaseName" value="activemq"/> <property name="user" value="activemq"/> </bean> </property> </bean> </property> </bean> </beans> I attached Spring Beans View in Eclipse. So I can't see myPersistenceAdapter bean and I can't view all available properties even for broker bean. In context menu I see only Open config file, Open bean class, Show graph and Properties for broker bean and see Open config and Properties for persistenceAdapter property :( What's wrong? -- Thanks, Eugene Prokopiev
-- James ------- http://radio.weblogs.com/0112098/
