activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugene Prokopiev <prokop...@stc.donpac.ru>
Subject Re: XBeans -> Spring configuration translation
Date Wed, 12 Jul 2006 10:52:13 GMT
> <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

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message