[jboss-user] [JBoss Messaging] - Re: Embedded server - how to create JMS Topic?
ataylor
do-not-reply at jboss.com
Mon Jul 13 06:38:17 EDT 2009
or If you want to run a full standalone server in spring use something like the following and make sure the JBM config files are available on the classpath
<?xml version="1.0" encoding="UTF-8"?>
| <beans xmlns="http://www.springframework.org/schema/beans"
| 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.xsd">
|
| <bean name="messagingServer" class="org.jboss.messaging.core.server.impl.MessagingServerImpl" init-method="start" destroy-method="stop">
| <constructor-arg ref="Configuration"/>
| <constructor-arg ref="JBMSecurityManager"/>
| </bean>
|
| <bean name="Configuration" class="org.jboss.messaging.core.config.impl.FileConfiguration" init-method="start" destroy-method="stop"/>
|
| <bean name="JBMSecurityManager" class="org.jboss.messaging.core.security.impl.JBMSecurityManagerImpl"/>
|
|
| </beans>
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243233#4243233
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243233
More information about the jboss-user
mailing list