mirror of https://github.com/apache/activemq.git
resolve https://issues.apache.org/activemq/browse/AMQ-2342 - update to xbean 3.7-SNAPSHOT pending 3.6 release - auto generation of xsd is back - seems to work ok for broker definitions in spring contexts etc.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813525 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dfd525fd96
commit
5c405cbfd8
|
@ -531,7 +531,7 @@
|
|||
<echo>Running the XSDDoc task</echo>
|
||||
<taskdef name="xsddoc" classname="net.sf.xframe.xsddoc.Task" />
|
||||
<mkdir dir="${basedir}/target/site/xsddoc" />
|
||||
<xsddoc file="${basedir}/src/main/resources/activemq.xsd" out="${basedir}/target/site/xsddoc" doctitle="Apache ActiveMQ XML Schema Reference" header="<a href='http://activemq.apache.org/'>Apache ActiveMQ</a>" footer="Copyright 2007 (c) the <a href='http://www.apache.org/'>Apache Software Foundation</a>" verbose="false" />
|
||||
<xsddoc file="${basedir}/target/xbean/activemq.xsd" out="${basedir}/target/site/xsddoc" doctitle="Apache ActiveMQ XML Schema Reference" header="<a href='http://activemq.apache.org/'>Apache ActiveMQ</a>" footer="Copyright 2007 (c) the <a href='http://www.apache.org/'>Apache Software Foundation</a>" verbose="false" />
|
||||
<!--
|
||||
css="${basedir}/../etc/css/stylesheet.css"
|
||||
-->
|
||||
|
@ -582,18 +582,18 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Disable for now cause it's generating an invalid xsd file and this breaks our spring compatibility.
|
||||
we are going to manually maintain the xsd for now until we can improve the xsd generation from xbean
|
||||
<plugin>
|
||||
<groupId>org.apache.xbean</groupId>
|
||||
<artifactId>maven-xbean-plugin</artifactId>
|
||||
<version>${xbean-version}</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>process-classes</phase>
|
||||
<configuration>
|
||||
<namespace>http://activemq.apache.org/schema/core</namespace>
|
||||
<schema>target/xbean/activemq.xsd</schema>
|
||||
<generateSpringSchemasFile>false</generateSpringSchemasFile>
|
||||
<excludedClasses>org.apache.activemq.broker.jmx.AnnotatedMBean,org.apache.activemq.broker.jmx.DestinationViewMBean</excludedClasses>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>mapping</goal>
|
||||
|
@ -601,40 +601,35 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
-->
|
||||
|
||||
<!-- lets ensure that the XSD gets deployed -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-artifacts</id>
|
||||
<phase>package</phase>
|
||||
<id>copy-resources</id>
|
||||
<phase>validate</phase>
|
||||
<goals>
|
||||
<goal>attach-artifact</goal>
|
||||
<goal>copy-resources</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifacts>
|
||||
<artifact>
|
||||
<file>${basedir}/src/main/resources/activemq.xsd</file>
|
||||
<type>xsd</type>
|
||||
</artifact>
|
||||
<artifact>
|
||||
<file>${basedir}/src/main/resources/activemq.xsd.html</file>
|
||||
<type>xsd.html</type>
|
||||
</artifact>
|
||||
</artifacts>
|
||||
</configuration>
|
||||
<outputDirectory>${basedir}/target/classes</outputDirectory>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>target/xbean</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>cobertura-maven-plugin</artifactId>
|
||||
<version>2.0</version>
|
||||
<configuration>
|
||||
<check>
|
||||
<check>
|
||||
<branchRate>50</branchRate>
|
||||
<lineRate>50</lineRate>
|
||||
<haltOnFailure>true</haltOnFailure>
|
||||
|
|
|
@ -1,271 +0,0 @@
|
|||
## ---------------------------------------------------------------------------
|
||||
## Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
## contributor license agreements. See the NOTICE file distributed with
|
||||
## this work for additional information regarding copyright ownership.
|
||||
## The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
## (the "License"); you may not use this file except in compliance with
|
||||
## the License. You may obtain a copy of the License at
|
||||
##
|
||||
## http://www.apache.org/licenses/LICENSE-2.0
|
||||
##
|
||||
## Unless required by applicable law or agreed to in writing, software
|
||||
## distributed under the License is distributed on an "AS IS" BASIS,
|
||||
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
## See the License for the specific language governing permissions and
|
||||
## limitations under the License.
|
||||
## ---------------------------------------------------------------------------
|
||||
# NOTE: this file is autogenerated by Apache XBean
|
||||
|
||||
# beans
|
||||
amqPersistenceAdapter = org.apache.activemq.store.amq.AMQPersistenceAdapter
|
||||
amqPersistenceAdapter.indexPageSize.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
amqPersistenceAdapter.maxCheckpointMessageAddSize.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
amqPersistenceAdapter.maxFileLength.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
amqPersistenceAdapter.maxReferenceFileLength.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
|
||||
amqPersistenceAdapterFactory = org.apache.activemq.store.amq.AMQPersistenceAdapterFactory
|
||||
|
||||
authenticationUser = org.apache.activemq.security.AuthenticationUser
|
||||
org.apache.activemq.security.AuthenticationUser(java.lang.String,java.lang.String,java.lang.String).parameterNames = username password groups
|
||||
|
||||
authorizationEntry = org.apache.activemq.security.AuthorizationEntry
|
||||
|
||||
authorizationMap = org.apache.activemq.security.DefaultAuthorizationMap
|
||||
org.apache.activemq.security.DefaultAuthorizationMap(java.util.List).parameterNames = authorizationEntries
|
||||
|
||||
authorizationPlugin = org.apache.activemq.security.AuthorizationPlugin
|
||||
org.apache.activemq.security.AuthorizationPlugin(org.apache.activemq.security.AuthorizationMap).parameterNames = map
|
||||
|
||||
axionJDBCAdapter = org.apache.activemq.store.jdbc.adapter.AxionJDBCAdapter
|
||||
|
||||
blobJDBCAdapter = org.apache.activemq.store.jdbc.adapter.BlobJDBCAdapter
|
||||
|
||||
broker = org.apache.activemq.xbean.XBeanBrokerService
|
||||
|
||||
bytesJDBCAdapter = org.apache.activemq.store.jdbc.adapter.BytesJDBCAdapter
|
||||
|
||||
commandAgent = org.apache.activemq.broker.util.CommandAgent
|
||||
|
||||
compositeDemandForwardingBridge = org.apache.activemq.network.CompositeDemandForwardingBridge
|
||||
org.apache.activemq.network.CompositeDemandForwardingBridge(org.apache.activemq.network.NetworkBridgeConfiguration,org.apache.activemq.transport.Transport,org.apache.activemq.transport.Transport).parameterNames = configuration localBroker remoteBroker
|
||||
|
||||
compositeQueue = org.apache.activemq.broker.region.virtual.CompositeQueue
|
||||
|
||||
compositeTopic = org.apache.activemq.broker.region.virtual.CompositeTopic
|
||||
|
||||
connectionDotFilePlugin = org.apache.activemq.broker.view.ConnectionDotFilePlugin
|
||||
|
||||
connectionFactory = org.apache.activemq.spring.ActiveMQConnectionFactory
|
||||
|
||||
constantPendingMessageLimitStrategy = org.apache.activemq.broker.region.policy.ConstantPendingMessageLimitStrategy
|
||||
|
||||
db2JDBCAdapter = org.apache.activemq.store.jdbc.adapter.DB2JDBCAdapter
|
||||
|
||||
defaultJDBCAdapter = org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
|
||||
|
||||
defaultUsageCapacity = org.apache.activemq.usage.DefaultUsageCapacity
|
||||
|
||||
demandForwardingBridge = org.apache.activemq.network.DemandForwardingBridge
|
||||
org.apache.activemq.network.DemandForwardingBridge(org.apache.activemq.network.NetworkBridgeConfiguration,org.apache.activemq.transport.Transport,org.apache.activemq.transport.Transport).parameterNames = configuration localBroker remoteBroker
|
||||
|
||||
destinationDotFilePlugin = org.apache.activemq.broker.view.DestinationDotFilePlugin
|
||||
|
||||
destinationEntry = org.apache.activemq.filter.DefaultDestinationMapEntry
|
||||
|
||||
fileCursor = org.apache.activemq.broker.region.policy.FilePendingSubscriberMessageStoragePolicy
|
||||
|
||||
fileDurableSubscriberCursor = org.apache.activemq.broker.region.policy.FilePendingDurableSubscriberMessageStoragePolicy
|
||||
|
||||
fileQueueCursor = org.apache.activemq.broker.region.policy.FilePendingQueueMessageStoragePolicy
|
||||
|
||||
filteredDestination = org.apache.activemq.broker.region.virtual.FilteredDestination
|
||||
|
||||
fixedCountSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.FixedCountSubscriptionRecoveryPolicy
|
||||
|
||||
fixedSizedSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.FixedSizedSubscriptionRecoveryPolicy
|
||||
|
||||
forwardingBridge = org.apache.activemq.network.ForwardingBridge
|
||||
org.apache.activemq.network.ForwardingBridge(org.apache.activemq.transport.Transport,org.apache.activemq.transport.Transport).parameterNames = localBroker remoteBroker
|
||||
|
||||
imageBasedJDBCAdaptor = org.apache.activemq.store.jdbc.adapter.ImageBasedJDBCAdaptor
|
||||
|
||||
inboundQueueBridge = org.apache.activemq.network.jms.InboundQueueBridge
|
||||
org.apache.activemq.network.jms.InboundQueueBridge(java.lang.String).parameterNames = inboundQueueName
|
||||
|
||||
inboundTopicBridge = org.apache.activemq.network.jms.InboundTopicBridge
|
||||
org.apache.activemq.network.jms.InboundTopicBridge(java.lang.String).parameterNames = inboundTopicName
|
||||
|
||||
individualDeadLetterStrategy = org.apache.activemq.broker.region.policy.IndividualDeadLetterStrategy
|
||||
|
||||
informixJDBCAdapter = org.apache.activemq.store.jdbc.adapter.InformixJDBCAdapter
|
||||
|
||||
jaasAuthenticationPlugin = org.apache.activemq.security.JaasAuthenticationPlugin
|
||||
|
||||
jaasCertificateAuthenticationPlugin = org.apache.activemq.security.JaasCertificateAuthenticationPlugin
|
||||
|
||||
jdbcPersistenceAdapter = org.apache.activemq.store.jdbc.JDBCPersistenceAdapter
|
||||
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter(javax.sql.DataSource,org.apache.activemq.wireformat.WireFormat).parameterNames = ds wireFormat
|
||||
|
||||
jmsQueueConnector = org.apache.activemq.network.jms.JmsQueueConnector
|
||||
|
||||
jmsTopicConnector = org.apache.activemq.network.jms.JmsTopicConnector
|
||||
|
||||
journalPersistenceAdapter = org.apache.activemq.store.journal.JournalPersistenceAdapter
|
||||
org.apache.activemq.store.journal.JournalPersistenceAdapter(org.apache.activeio.journal.Journal,org.apache.activemq.store.PersistenceAdapter,org.apache.activemq.thread.TaskRunnerFactory).parameterNames = journal longTermPersistence taskRunnerFactory
|
||||
|
||||
journaledJDBC = org.apache.activemq.store.PersistenceAdapterFactoryBean
|
||||
journaledJDBC.journalLogFileSize.propertyEditor = org.apache.activemq.util.MemoryIntPropertyEditor
|
||||
|
||||
kahaPersistenceAdapter = org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter
|
||||
kahaPersistenceAdapter.maxDataFileLength.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter(java.util.concurrent.atomic.AtomicLong).parameterNames = size
|
||||
|
||||
kahaDB = org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter
|
||||
kahaDB.journalMaxFileLength.propertyEditor = org.apache.activemq.util.MemoryIntPropertyEditor
|
||||
|
||||
lDAPAuthorizationMap = org.apache.activemq.security.LDAPAuthorizationMap
|
||||
org.apache.activemq.security.LDAPAuthorizationMap(java.util.Map).parameterNames = options
|
||||
|
||||
lastImageSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.LastImageSubscriptionRecoveryPolicy
|
||||
|
||||
ldapNetworkConnector = org.apache.activemq.network.LdapNetworkConnector
|
||||
|
||||
loggingBrokerPlugin = org.apache.activemq.broker.util.LoggingBrokerPlugin
|
||||
|
||||
managementContext = org.apache.activemq.broker.jmx.ManagementContext
|
||||
org.apache.activemq.broker.jmx.ManagementContext(javax.management.MBeanServer).parameterNames = server
|
||||
|
||||
masterConnector = org.apache.activemq.broker.ft.MasterConnector
|
||||
org.apache.activemq.broker.ft.MasterConnector(java.lang.String).parameterNames = remoteUri
|
||||
|
||||
memoryPersistenceAdapter = org.apache.activemq.store.memory.MemoryPersistenceAdapter
|
||||
|
||||
memoryUsage = org.apache.activemq.usage.MemoryUsage
|
||||
memoryUsage.limit.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
org.apache.activemq.usage.MemoryUsage(org.apache.activemq.usage.MemoryUsage).parameterNames = parent
|
||||
org.apache.activemq.usage.MemoryUsage(java.lang.String).parameterNames = name
|
||||
org.apache.activemq.usage.MemoryUsage(org.apache.activemq.usage.MemoryUsage,java.lang.String).parameterNames = parent name
|
||||
org.apache.activemq.usage.MemoryUsage(org.apache.activemq.usage.MemoryUsage,java.lang.String,float).parameterNames = parent name portion
|
||||
|
||||
messageGroupHashBucketFactory = org.apache.activemq.broker.region.group.MessageGroupHashBucketFactory
|
||||
|
||||
mirroredQueue = org.apache.activemq.broker.region.virtual.MirroredQueue
|
||||
|
||||
multicastNetworkConnector = org.apache.activemq.network.MulticastNetworkConnector
|
||||
org.apache.activemq.network.MulticastNetworkConnector(java.net.URI).parameterNames = remoteURI
|
||||
|
||||
multicastTraceBrokerPlugin = org.apache.activemq.broker.util.MulticastTraceBrokerPlugin
|
||||
|
||||
networkConnector = org.apache.activemq.network.DiscoveryNetworkConnector
|
||||
org.apache.activemq.network.DiscoveryNetworkConnector(java.net.URI).parameterNames = discoveryURI
|
||||
|
||||
noSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.NoSubscriptionRecoveryPolicy
|
||||
|
||||
oldestMessageEvictionStrategy = org.apache.activemq.broker.region.policy.OldestMessageEvictionStrategy
|
||||
|
||||
oldestMessageWithLowestPriorityEvictionStrategy = org.apache.activemq.broker.region.policy.OldestMessageWithLowestPriorityEvictionStrategy
|
||||
|
||||
oracleJDBCAdapter = org.apache.activemq.store.jdbc.adapter.OracleJDBCAdapter
|
||||
|
||||
outboundQueueBridge = org.apache.activemq.network.jms.OutboundQueueBridge
|
||||
org.apache.activemq.network.jms.OutboundQueueBridge(java.lang.String).parameterNames = outboundQueueName
|
||||
|
||||
outboundTopicBridge = org.apache.activemq.network.jms.OutboundTopicBridge
|
||||
org.apache.activemq.network.jms.OutboundTopicBridge(java.lang.String).parameterNames = outboundTopicName
|
||||
|
||||
policyEntry = org.apache.activemq.broker.region.policy.PolicyEntry
|
||||
policyEntry.memoryLimit.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
|
||||
policyMap = org.apache.activemq.broker.region.policy.PolicyMap
|
||||
|
||||
prefetchPolicy = org.apache.activemq.ActiveMQPrefetchPolicy
|
||||
|
||||
prefetchRatePendingMessageLimitStrategy = org.apache.activemq.broker.region.policy.PrefetchRatePendingMessageLimitStrategy
|
||||
|
||||
proxyConnector = org.apache.activemq.proxy.ProxyConnector
|
||||
|
||||
queryBasedSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.QueryBasedSubscriptionRecoveryPolicy
|
||||
|
||||
queue = org.apache.activemq.command.ActiveMQQueue
|
||||
org.apache.activemq.command.ActiveMQQueue(java.lang.String).parameterNames = name
|
||||
|
||||
queueDispatchSelector = org.apache.activemq.broker.region.QueueDispatchSelector
|
||||
org.apache.activemq.broker.region.QueueDispatchSelector(org.apache.activemq.command.ActiveMQDestination).parameterNames = destination
|
||||
|
||||
redeliveryPolicy = org.apache.activemq.RedeliveryPolicy
|
||||
|
||||
roundRobinDispatchPolicy = org.apache.activemq.broker.region.policy.RoundRobinDispatchPolicy
|
||||
|
||||
sharedDeadLetterStrategy = org.apache.activemq.broker.region.policy.SharedDeadLetterStrategy
|
||||
|
||||
simpleAuthenticationPlugin = org.apache.activemq.security.SimpleAuthenticationPlugin
|
||||
org.apache.activemq.security.SimpleAuthenticationPlugin(java.util.List).parameterNames = users
|
||||
|
||||
simpleAuthorizationMap = org.apache.activemq.security.SimpleAuthorizationMap
|
||||
org.apache.activemq.security.SimpleAuthorizationMap(org.apache.activemq.filter.DestinationMap,org.apache.activemq.filter.DestinationMap,org.apache.activemq.filter.DestinationMap).parameterNames = writeACLs readACLs adminACLs
|
||||
|
||||
simpleDispatchPolicy = org.apache.activemq.broker.region.policy.SimpleDispatchPolicy
|
||||
|
||||
simpleDispatchSelector = org.apache.activemq.broker.region.policy.SimpleDispatchSelector
|
||||
org.apache.activemq.broker.region.policy.SimpleDispatchSelector(org.apache.activemq.command.ActiveMQDestination).parameterNames = destination
|
||||
|
||||
simpleJmsMessageConvertor = org.apache.activemq.network.jms.SimpleJmsMessageConvertor
|
||||
|
||||
simpleMessageGroupMapFactory = org.apache.activemq.broker.region.group.SimpleMessageGroupMapFactory
|
||||
|
||||
sslContext = org.apache.activemq.spring.SpringSslContext
|
||||
|
||||
statements = org.apache.activemq.store.jdbc.Statements
|
||||
|
||||
storeCursor = org.apache.activemq.broker.region.policy.StorePendingQueueMessageStoragePolicy
|
||||
|
||||
storeDurableSubscriberCursor = org.apache.activemq.broker.region.policy.StorePendingDurableSubscriberMessageStoragePolicy
|
||||
|
||||
storeUsage = org.apache.activemq.usage.StoreUsage
|
||||
storeUsage.limit.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
org.apache.activemq.usage.StoreUsage(java.lang.String,org.apache.activemq.store.PersistenceAdapter).parameterNames = name store
|
||||
org.apache.activemq.usage.StoreUsage(org.apache.activemq.usage.StoreUsage,java.lang.String).parameterNames = parent name
|
||||
|
||||
streamJDBCAdapter = org.apache.activemq.store.jdbc.adapter.StreamJDBCAdapter
|
||||
|
||||
strictOrderDispatchPolicy = org.apache.activemq.broker.region.policy.StrictOrderDispatchPolicy
|
||||
|
||||
systemUsage = org.apache.activemq.usage.SystemUsage
|
||||
org.apache.activemq.usage.SystemUsage(java.lang.String,org.apache.activemq.store.PersistenceAdapter,org.apache.activemq.kaha.Store).parameterNames = name adapter tempStore
|
||||
org.apache.activemq.usage.SystemUsage(org.apache.activemq.usage.SystemUsage,java.lang.String).parameterNames = parent name
|
||||
|
||||
tempDestinationAuthorizationEntry = org.apache.activemq.security.TempDestinationAuthorizationEntry
|
||||
|
||||
tempUsage = org.apache.activemq.usage.TempUsage
|
||||
tempUsage.limit.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
org.apache.activemq.usage.TempUsage(java.lang.String,org.apache.activemq.kaha.Store).parameterNames = name store
|
||||
org.apache.activemq.usage.TempUsage(org.apache.activemq.usage.TempUsage,java.lang.String).parameterNames = parent name
|
||||
|
||||
timeStampingBrokerPlugin = org.apache.activemq.broker.util.TimeStampingBrokerPlugin
|
||||
|
||||
timedSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.TimedSubscriptionRecoveryPolicy
|
||||
|
||||
topic = org.apache.activemq.command.ActiveMQTopic
|
||||
org.apache.activemq.command.ActiveMQTopic(java.lang.String).parameterNames = name
|
||||
|
||||
traceBrokerPathPlugin = org.apache.activemq.broker.util.TraceBrokerPathPlugin
|
||||
|
||||
transportConnector = org.apache.activemq.broker.TransportConnector
|
||||
org.apache.activemq.broker.TransportConnector(org.apache.activemq.transport.TransportServer).parameterNames = server
|
||||
|
||||
udpTraceBrokerPlugin = org.apache.activemq.broker.util.UDPTraceBrokerPlugin
|
||||
|
||||
usageCapacity = org.apache.activemq.usage.UsageCapacity
|
||||
|
||||
virtualDestinationInterceptor = org.apache.activemq.broker.region.virtual.VirtualDestinationInterceptor
|
||||
|
||||
virtualTopic = org.apache.activemq.broker.region.virtual.VirtualTopic
|
||||
|
||||
vmCursor = org.apache.activemq.broker.region.policy.VMPendingSubscriberMessageStoragePolicy
|
||||
|
||||
vmDurableCursor = org.apache.activemq.broker.region.policy.VMPendingDurableSubscriberMessageStoragePolicy
|
||||
|
||||
vmQueueCursor = org.apache.activemq.broker.region.policy.VMPendingQueueMessageStoragePolicy
|
||||
|
||||
xaConnectionFactory = org.apache.activemq.spring.ActiveMQXAConnectionFactory
|
||||
|
|
@ -1,277 +0,0 @@
|
|||
## ---------------------------------------------------------------------------
|
||||
## Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
## contributor license agreements. See the NOTICE file distributed with
|
||||
## this work for additional information regarding copyright ownership.
|
||||
## The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
## (the "License"); you may not use this file except in compliance with
|
||||
## the License. You may obtain a copy of the License at
|
||||
##
|
||||
## http://www.apache.org/licenses/LICENSE-2.0
|
||||
##
|
||||
## Unless required by applicable law or agreed to in writing, software
|
||||
## distributed under the License is distributed on an "AS IS" BASIS,
|
||||
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
## See the License for the specific language governing permissions and
|
||||
## limitations under the License.
|
||||
## ---------------------------------------------------------------------------
|
||||
# NOTE: this file is autogenerated by Apache XBean
|
||||
|
||||
# beans
|
||||
amqPersistenceAdapter = org.apache.activemq.store.amq.AMQPersistenceAdapter
|
||||
amqPersistenceAdapter.indexPageSize.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
amqPersistenceAdapter.maxCheckpointMessageAddSize.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
amqPersistenceAdapter.maxFileLength.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
amqPersistenceAdapter.maxReferenceFileLength.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
|
||||
amqPersistenceAdapterFactory = org.apache.activemq.store.amq.AMQPersistenceAdapterFactory
|
||||
|
||||
authenticationUser = org.apache.activemq.security.AuthenticationUser
|
||||
org.apache.activemq.security.AuthenticationUser(java.lang.String,java.lang.String,java.lang.String).parameterNames = username password groups
|
||||
|
||||
authorizationEntry = org.apache.activemq.security.AuthorizationEntry
|
||||
|
||||
authorizationMap = org.apache.activemq.security.DefaultAuthorizationMap
|
||||
org.apache.activemq.security.DefaultAuthorizationMap(java.util.List).parameterNames = authorizationEntries
|
||||
|
||||
authorizationPlugin = org.apache.activemq.security.AuthorizationPlugin
|
||||
org.apache.activemq.security.AuthorizationPlugin(org.apache.activemq.security.AuthorizationMap).parameterNames = map
|
||||
|
||||
axionJDBCAdapter = org.apache.activemq.store.jdbc.adapter.AxionJDBCAdapter
|
||||
|
||||
blobJDBCAdapter = org.apache.activemq.store.jdbc.adapter.BlobJDBCAdapter
|
||||
|
||||
broker = org.apache.activemq.xbean.XBeanBrokerService
|
||||
|
||||
bytesJDBCAdapter = org.apache.activemq.store.jdbc.adapter.BytesJDBCAdapter
|
||||
|
||||
commandAgent = org.apache.activemq.broker.util.CommandAgent
|
||||
|
||||
compositeDemandForwardingBridge = org.apache.activemq.network.CompositeDemandForwardingBridge
|
||||
org.apache.activemq.network.CompositeDemandForwardingBridge(org.apache.activemq.network.NetworkBridgeConfiguration,org.apache.activemq.transport.Transport,org.apache.activemq.transport.Transport).parameterNames = configuration localBroker remoteBroker
|
||||
|
||||
compositeQueue = org.apache.activemq.broker.region.virtual.CompositeQueue
|
||||
|
||||
compositeTopic = org.apache.activemq.broker.region.virtual.CompositeTopic
|
||||
|
||||
connectionDotFilePlugin = org.apache.activemq.broker.view.ConnectionDotFilePlugin
|
||||
|
||||
connectionFactory = org.apache.activemq.spring.ActiveMQConnectionFactory
|
||||
|
||||
constantPendingMessageLimitStrategy = org.apache.activemq.broker.region.policy.ConstantPendingMessageLimitStrategy
|
||||
|
||||
db2JDBCAdapter = org.apache.activemq.store.jdbc.adapter.DB2JDBCAdapter
|
||||
|
||||
defaultJDBCAdapter = org.apache.activemq.store.jdbc.adapter.DefaultJDBCAdapter
|
||||
|
||||
defaultUsageCapacity = org.apache.activemq.usage.DefaultUsageCapacity
|
||||
|
||||
demandForwardingBridge = org.apache.activemq.network.DemandForwardingBridge
|
||||
org.apache.activemq.network.DemandForwardingBridge(org.apache.activemq.network.NetworkBridgeConfiguration,org.apache.activemq.transport.Transport,org.apache.activemq.transport.Transport).parameterNames = configuration localBroker remoteBroker
|
||||
|
||||
destinationDotFilePlugin = org.apache.activemq.broker.view.DestinationDotFilePlugin
|
||||
|
||||
destinationEntry = org.apache.activemq.filter.DefaultDestinationMapEntry
|
||||
|
||||
fileCursor = org.apache.activemq.broker.region.policy.FilePendingSubscriberMessageStoragePolicy
|
||||
|
||||
fileDurableSubscriberCursor = org.apache.activemq.broker.region.policy.FilePendingDurableSubscriberMessageStoragePolicy
|
||||
|
||||
fileQueueCursor = org.apache.activemq.broker.region.policy.FilePendingQueueMessageStoragePolicy
|
||||
|
||||
filteredDestination = org.apache.activemq.broker.region.virtual.FilteredDestination
|
||||
|
||||
fixedCountSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.FixedCountSubscriptionRecoveryPolicy
|
||||
|
||||
fixedSizedSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.FixedSizedSubscriptionRecoveryPolicy
|
||||
|
||||
forwardingBridge = org.apache.activemq.network.ForwardingBridge
|
||||
org.apache.activemq.network.ForwardingBridge(org.apache.activemq.transport.Transport,org.apache.activemq.transport.Transport).parameterNames = localBroker remoteBroker
|
||||
|
||||
imageBasedJDBCAdaptor = org.apache.activemq.store.jdbc.adapter.ImageBasedJDBCAdaptor
|
||||
|
||||
inboundQueueBridge = org.apache.activemq.network.jms.InboundQueueBridge
|
||||
org.apache.activemq.network.jms.InboundQueueBridge(java.lang.String).parameterNames = inboundQueueName
|
||||
|
||||
inboundTopicBridge = org.apache.activemq.network.jms.InboundTopicBridge
|
||||
org.apache.activemq.network.jms.InboundTopicBridge(java.lang.String).parameterNames = inboundTopicName
|
||||
|
||||
individualDeadLetterStrategy = org.apache.activemq.broker.region.policy.IndividualDeadLetterStrategy
|
||||
|
||||
informixJDBCAdapter = org.apache.activemq.store.jdbc.adapter.InformixJDBCAdapter
|
||||
|
||||
jaasAuthenticationPlugin = org.apache.activemq.security.JaasAuthenticationPlugin
|
||||
|
||||
jaasCertificateAuthenticationPlugin = org.apache.activemq.security.JaasCertificateAuthenticationPlugin
|
||||
|
||||
jdbcPersistenceAdapter = org.apache.activemq.store.jdbc.JDBCPersistenceAdapter
|
||||
org.apache.activemq.store.jdbc.JDBCPersistenceAdapter(javax.sql.DataSource,org.apache.activemq.wireformat.WireFormat).parameterNames = ds wireFormat
|
||||
|
||||
jmsQueueConnector = org.apache.activemq.network.jms.JmsQueueConnector
|
||||
|
||||
jmsTopicConnector = org.apache.activemq.network.jms.JmsTopicConnector
|
||||
|
||||
journalPersistenceAdapter = org.apache.activemq.store.journal.JournalPersistenceAdapter
|
||||
org.apache.activemq.store.journal.JournalPersistenceAdapter(org.apache.activeio.journal.Journal,org.apache.activemq.store.PersistenceAdapter,org.apache.activemq.thread.TaskRunnerFactory).parameterNames = journal longTermPersistence taskRunnerFactory
|
||||
|
||||
journaledJDBC = org.apache.activemq.store.PersistenceAdapterFactoryBean
|
||||
journaledJDBC.journalLogFileSize.propertyEditor = org.apache.activemq.util.MemoryIntPropertyEditor
|
||||
|
||||
kahaPersistenceAdapter = org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter
|
||||
kahaPersistenceAdapter.maxDataFileLength.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
org.apache.activemq.store.kahadaptor.KahaPersistenceAdapter(java.util.concurrent.atomic.AtomicLong).parameterNames = size
|
||||
|
||||
kahaDB = org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter
|
||||
kahaDB.journalMaxFileLength.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
|
||||
lDAPAuthorizationMap = org.apache.activemq.security.LDAPAuthorizationMap
|
||||
org.apache.activemq.security.LDAPAuthorizationMap(java.util.Map).parameterNames = options
|
||||
|
||||
lastImageSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.LastImageSubscriptionRecoveryPolicy
|
||||
|
||||
ldapNetworkConnector = org.apache.activemq.network.LdapNetworkConnector
|
||||
|
||||
loggingBrokerPlugin = org.apache.activemq.broker.util.LoggingBrokerPlugin
|
||||
|
||||
managementContext = org.apache.activemq.broker.jmx.ManagementContext
|
||||
org.apache.activemq.broker.jmx.ManagementContext(javax.management.MBeanServer).parameterNames = server
|
||||
|
||||
masterConnector = org.apache.activemq.broker.ft.MasterConnector
|
||||
org.apache.activemq.broker.ft.MasterConnector(java.lang.String).parameterNames = remoteUri
|
||||
|
||||
memoryPersistenceAdapter = org.apache.activemq.store.memory.MemoryPersistenceAdapter
|
||||
|
||||
memoryUsage = org.apache.activemq.usage.MemoryUsage
|
||||
memoryUsage.limit.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
org.apache.activemq.usage.MemoryUsage(org.apache.activemq.usage.MemoryUsage).parameterNames = parent
|
||||
org.apache.activemq.usage.MemoryUsage(java.lang.String).parameterNames = name
|
||||
org.apache.activemq.usage.MemoryUsage(org.apache.activemq.usage.MemoryUsage,java.lang.String).parameterNames = parent name
|
||||
org.apache.activemq.usage.MemoryUsage(org.apache.activemq.usage.MemoryUsage,java.lang.String,float).parameterNames = parent name portion
|
||||
|
||||
messageGroupHashBucketFactory = org.apache.activemq.broker.region.group.MessageGroupHashBucketFactory
|
||||
|
||||
mirroredQueue = org.apache.activemq.broker.region.virtual.MirroredQueue
|
||||
|
||||
multicastNetworkConnector = org.apache.activemq.network.MulticastNetworkConnector
|
||||
org.apache.activemq.network.MulticastNetworkConnector(java.net.URI).parameterNames = remoteURI
|
||||
|
||||
multicastTraceBrokerPlugin = org.apache.activemq.broker.util.MulticastTraceBrokerPlugin
|
||||
|
||||
networkConnector = org.apache.activemq.network.DiscoveryNetworkConnector
|
||||
org.apache.activemq.network.DiscoveryNetworkConnector(java.net.URI).parameterNames = discoveryURI
|
||||
|
||||
noSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.NoSubscriptionRecoveryPolicy
|
||||
|
||||
oldestMessageEvictionStrategy = org.apache.activemq.broker.region.policy.OldestMessageEvictionStrategy
|
||||
|
||||
oldestMessageWithLowestPriorityEvictionStrategy = org.apache.activemq.broker.region.policy.OldestMessageWithLowestPriorityEvictionStrategy
|
||||
|
||||
oracleJDBCAdapter = org.apache.activemq.store.jdbc.adapter.OracleJDBCAdapter
|
||||
|
||||
outboundQueueBridge = org.apache.activemq.network.jms.OutboundQueueBridge
|
||||
org.apache.activemq.network.jms.OutboundQueueBridge(java.lang.String).parameterNames = outboundQueueName
|
||||
|
||||
outboundTopicBridge = org.apache.activemq.network.jms.OutboundTopicBridge
|
||||
org.apache.activemq.network.jms.OutboundTopicBridge(java.lang.String).parameterNames = outboundTopicName
|
||||
|
||||
policyEntry = org.apache.activemq.broker.region.policy.PolicyEntry
|
||||
policyEntry.memoryLimit.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
|
||||
policyMap = org.apache.activemq.broker.region.policy.PolicyMap
|
||||
|
||||
prefetchPolicy = org.apache.activemq.ActiveMQPrefetchPolicy
|
||||
|
||||
prefetchRatePendingMessageLimitStrategy = org.apache.activemq.broker.region.policy.PrefetchRatePendingMessageLimitStrategy
|
||||
|
||||
proxyConnector = org.apache.activemq.proxy.ProxyConnector
|
||||
|
||||
queryBasedSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.QueryBasedSubscriptionRecoveryPolicy
|
||||
|
||||
queue = org.apache.activemq.command.ActiveMQQueue
|
||||
org.apache.activemq.command.ActiveMQQueue(java.lang.String).parameterNames = name
|
||||
|
||||
queueDispatchSelector = org.apache.activemq.broker.region.QueueDispatchSelector
|
||||
org.apache.activemq.broker.region.QueueDispatchSelector(org.apache.activemq.command.ActiveMQDestination).parameterNames = destination
|
||||
|
||||
redeliveryPolicy = org.apache.activemq.RedeliveryPolicy
|
||||
|
||||
roundRobinDispatchPolicy = org.apache.activemq.broker.region.policy.RoundRobinDispatchPolicy
|
||||
|
||||
sharedDeadLetterStrategy = org.apache.activemq.broker.region.policy.SharedDeadLetterStrategy
|
||||
|
||||
simpleAuthenticationPlugin = org.apache.activemq.security.SimpleAuthenticationPlugin
|
||||
org.apache.activemq.security.SimpleAuthenticationPlugin(java.util.List).parameterNames = users
|
||||
|
||||
simpleAuthorizationMap = org.apache.activemq.security.SimpleAuthorizationMap
|
||||
org.apache.activemq.security.SimpleAuthorizationMap(org.apache.activemq.filter.DestinationMap,org.apache.activemq.filter.DestinationMap,org.apache.activemq.filter.DestinationMap).parameterNames = writeACLs readACLs adminACLs
|
||||
|
||||
simpleDispatchPolicy = org.apache.activemq.broker.region.policy.SimpleDispatchPolicy
|
||||
|
||||
simpleDispatchSelector = org.apache.activemq.broker.region.policy.SimpleDispatchSelector
|
||||
org.apache.activemq.broker.region.policy.SimpleDispatchSelector(org.apache.activemq.command.ActiveMQDestination).parameterNames = destination
|
||||
|
||||
simpleJmsMessageConvertor = org.apache.activemq.network.jms.SimpleJmsMessageConvertor
|
||||
|
||||
simpleMessageGroupMapFactory = org.apache.activemq.broker.region.group.SimpleMessageGroupMapFactory
|
||||
|
||||
sslContext = org.apache.activemq.spring.SpringSslContext
|
||||
|
||||
statements = org.apache.activemq.store.jdbc.Statements
|
||||
|
||||
storeCursor = org.apache.activemq.broker.region.policy.StorePendingQueueMessageStoragePolicy
|
||||
|
||||
storeDurableSubscriberCursor = org.apache.activemq.broker.region.policy.StorePendingDurableSubscriberMessageStoragePolicy
|
||||
|
||||
storeUsage = org.apache.activemq.usage.StoreUsage
|
||||
storeUsage.limit.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
org.apache.activemq.usage.StoreUsage(java.lang.String,org.apache.activemq.store.PersistenceAdapter).parameterNames = name store
|
||||
org.apache.activemq.usage.StoreUsage(org.apache.activemq.usage.StoreUsage,java.lang.String).parameterNames = parent name
|
||||
|
||||
streamJDBCAdapter = org.apache.activemq.store.jdbc.adapter.StreamJDBCAdapter
|
||||
|
||||
strictOrderDispatchPolicy = org.apache.activemq.broker.region.policy.StrictOrderDispatchPolicy
|
||||
|
||||
systemUsage = org.apache.activemq.usage.SystemUsage
|
||||
org.apache.activemq.usage.SystemUsage(java.lang.String,org.apache.activemq.store.PersistenceAdapter,org.apache.activemq.kaha.Store).parameterNames = name adapter tempStore
|
||||
org.apache.activemq.usage.SystemUsage(org.apache.activemq.usage.SystemUsage,java.lang.String).parameterNames = parent name
|
||||
|
||||
tempDestinationAuthorizationEntry = org.apache.activemq.security.TempDestinationAuthorizationEntry
|
||||
|
||||
tempUsage = org.apache.activemq.usage.TempUsage
|
||||
tempUsage.limit.propertyEditor = org.apache.activemq.util.MemoryPropertyEditor
|
||||
org.apache.activemq.usage.TempUsage(java.lang.String,org.apache.activemq.kaha.Store).parameterNames = name store
|
||||
org.apache.activemq.usage.TempUsage(org.apache.activemq.usage.TempUsage,java.lang.String).parameterNames = parent name
|
||||
|
||||
timeStampingBrokerPlugin = org.apache.activemq.broker.util.TimeStampingBrokerPlugin
|
||||
|
||||
timedSubscriptionRecoveryPolicy = org.apache.activemq.broker.region.policy.TimedSubscriptionRecoveryPolicy
|
||||
|
||||
topic = org.apache.activemq.command.ActiveMQTopic
|
||||
org.apache.activemq.command.ActiveMQTopic(java.lang.String).parameterNames = name
|
||||
|
||||
transportConnector = org.apache.activemq.broker.TransportConnector
|
||||
org.apache.activemq.broker.TransportConnector(org.apache.activemq.transport.TransportServer).parameterNames = server
|
||||
|
||||
udpTraceBrokerPlugin = org.apache.activemq.broker.util.UDPTraceBrokerPlugin
|
||||
|
||||
usageCapacity = org.apache.activemq.usage.UsageCapacity
|
||||
|
||||
virtualDestinationInterceptor = org.apache.activemq.broker.region.virtual.VirtualDestinationInterceptor
|
||||
|
||||
virtualTopic = org.apache.activemq.broker.region.virtual.VirtualTopic
|
||||
|
||||
vmCursor = org.apache.activemq.broker.region.policy.VMPendingSubscriberMessageStoragePolicy
|
||||
|
||||
vmDurableCursor = org.apache.activemq.broker.region.policy.VMPendingDurableSubscriberMessageStoragePolicy
|
||||
|
||||
vmQueueCursor = org.apache.activemq.broker.region.policy.VMPendingQueueMessageStoragePolicy
|
||||
|
||||
xaConnectionFactory = org.apache.activemq.spring.ActiveMQXAConnectionFactory
|
||||
|
||||
statisticsBrokerPlugin = org.apache.activemq.plugin.StatisticsBrokerPlugin
|
||||
|
||||
forcePersistencyModeBrokerPlugin = org.apache.activemq.plugin.ForcePersistencyModeBrokerPlugin
|
||||
|
||||
discardingDLQBrokerPlugin = org.apache.activemq.plugin.DiscardingDLQBrokerPlugin
|
||||
|
||||
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
## ---------------------------------------------------------------------------
|
||||
## Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
## contributor license agreements. See the NOTICE file distributed with
|
||||
## this work for additional information regarding copyright ownership.
|
||||
## The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
## (the "License"); you may not use this file except in compliance with
|
||||
## the License. You may obtain a copy of the License at
|
||||
##
|
||||
## http://www.apache.org/licenses/LICENSE-2.0
|
||||
##
|
||||
## Unless required by applicable law or agreed to in writing, software
|
||||
## distributed under the License is distributed on an "AS IS" BASIS,
|
||||
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
## See the License for the specific language governing permissions and
|
||||
## limitations under the License.
|
||||
## ---------------------------------------------------------------------------
|
||||
http\://activemq.apache.org/schema/core=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler
|
||||
http\://activemq.org/config/1.0=org.apache.xbean.spring.context.v2.XBeanNamespaceHandler
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,101 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!-- START SNIPPET: spring -->
|
||||
<beans
|
||||
xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:amq="http://activemq.apache.org/schema/core"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">
|
||||
|
||||
<bean id="store" class="org.apache.activemq.store.kahadb.KahaDBStore" >
|
||||
<property name="directory" value="target/amqdata/kahadb" />
|
||||
<property name="journalMaxFileLength" value="1000000" />
|
||||
<property name="checkpointInterval" value="5000" />
|
||||
<property name="cleanupInterval" value="5000" />
|
||||
|
||||
<property name="indexWriteBatchSize" value="100" />
|
||||
<property name="enableIndexWriteAsync" value="true" />
|
||||
|
||||
</bean>
|
||||
|
||||
<amq:broker poor="false"
|
||||
persistent="true"
|
||||
advisorySupport="false"
|
||||
dataDirectory="target/amqdata"
|
||||
deleteAllMessagesOnStartup="true"
|
||||
useJmx="true"
|
||||
brokerName="localhost"
|
||||
monitorConnectionSplits="false"
|
||||
splitSystemUsageForProducersConsumers="false"
|
||||
start="true"
|
||||
persistenceAdapter="#store">
|
||||
|
||||
<amq:transportConnectors>
|
||||
<amq:transportConnector uri="tcp://localhost:0" />
|
||||
</amq:transportConnectors>
|
||||
</amq:broker>
|
||||
|
||||
<!-- ActiveMQ destinations to use -->
|
||||
<amq:queue id="destination" physicalName="org.apache.activemq.spring.Test.spring.embedded"/>
|
||||
|
||||
<!-- JMS ConnectionFactory to use, configuring the embedded broker using XML -->
|
||||
<amq:connectionFactory id="jmsFactory" brokerURL="vm://localhost"/>
|
||||
|
||||
|
||||
<!-- Spring JMS Template -->
|
||||
<bean id="myJmsTemplate" class="org.springframework.jms.core.JmsTemplate">
|
||||
<property name="connectionFactory">
|
||||
<!-- lets wrap in a pool to avoid creating a connection per send -->
|
||||
<bean class="org.springframework.jms.connection.SingleConnectionFactory">
|
||||
<property name="targetConnectionFactory">
|
||||
<ref local="jmsFactory" />
|
||||
</property>
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="consumerJmsTemplate" class="org.springframework.jms.core.JmsTemplate">
|
||||
<property name="connectionFactory" ref="jmsFactory"/>
|
||||
</bean>
|
||||
|
||||
<!-- a sample POJO which uses a Spring JmsTemplate -->
|
||||
<bean id="producer" class="org.apache.activemq.spring.SpringProducer">
|
||||
<property name="template">
|
||||
<ref bean="myJmsTemplate"></ref>
|
||||
</property>
|
||||
|
||||
<property name="destination">
|
||||
<ref bean="destination" />
|
||||
</property>
|
||||
|
||||
<property name="messageCount">
|
||||
<value>10</value>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<!-- a sample POJO consumer -->
|
||||
<bean id="consumer" class="org.apache.activemq.spring.SpringConsumer">
|
||||
<property name="template" ref="consumerJmsTemplate"/>
|
||||
<property name="destination" ref="destination"/>
|
||||
</bean>
|
||||
|
||||
</beans>
|
||||
|
||||
<!-- END SNIPPET: spring -->
|
|
@ -22,7 +22,7 @@
|
|||
xmlns:amq="http://activemq.apache.org/schema/core"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
||||
http://activemq.apache.org/schema/core file:./src/main/resources/activemq.xsd">
|
||||
http://activemq.apache.org/schema/core classpath:activemq.xsd">
|
||||
|
||||
<!-- lets create an embedded ActiveMQ Broker -->
|
||||
<amq:broker useJmx="false" persistent="false">
|
||||
|
|
10
pom.xml
10
pom.xml
|
@ -77,7 +77,7 @@
|
|||
<xmlbeans-version>2.0.0-beta1</xmlbeans-version>
|
||||
<xmlpull-version>1.1.3.4d_b4_min</xmlpull-version>
|
||||
<xstream-version>1.3.1</xstream-version>
|
||||
<xbean-version>3.4</xbean-version>
|
||||
<xbean-version>3.7-SNAPSHOT</xbean-version>
|
||||
<felix-version>1.0.0</felix-version>
|
||||
<commons-net-version>2.0</commons-net-version>
|
||||
<ftpserver-version>1.0.0</ftpserver-version>
|
||||
|
@ -158,6 +158,14 @@
|
|||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
<!-- here till xbean 3.6 release is in central -->
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>snapshots-group</id>
|
||||
<url>http://repository.apache.org/content/groups/snapshots/</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
<!-- =============================== -->
|
||||
|
|
Loading…
Reference in New Issue