Hi again; i have seen that some files have not showed well:

jboss-service:

<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE server PUBLIC "-//JBoss//DTD MBean Service 3.2//EN" 
"http://www.jboss.org/j2ee/dtd/jboss-service_3_2.dtd";>
  | <server>
  |   <mbean code="org.jboss.mq.server.jmx.Topic" 
name="jboss.mq.destination:service=Topic,name=angelo">
  |     <depends 
optional-attribute-name="DestinationManager">jboss.mq:service=DestinationManager</depends>
  |     <depends 
optional-attribute-name="SecurityManager">jboss.mq:service=SecurityManager</depends>
  |   </mbean>
  |   <mbean code="org.jboss.jms.jndi.JMSProviderLoader" 
name="jboss.mq:service=JMSProviderLoader,name=RemoteJMSProvider,server=ContentAuthor">
  |     <attribute name="ProviderName">RemoteJMSProvider</attribute>
  |     <attribute 
name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
  |     <attribute name="QueueFactoryRef">XAConnectionFactory</attribute>
  |     <attribute name="TopicFactoryRef">XAConnectionFactory</attribute>
  |     <attribute 
name="Properties">java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jnp.interfaces
  | java.naming.provider.url=192.168.xxx.yyy:1099
  | </attribute>
  |   </mbean>
  | </server>

jboss.xml:

<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 3.2//EN" 
"http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd";>
  | <jboss>
  |   <enterprise-beans>
  |     <message-driven>
  |       <ejb-name>TestBean</ejb-name>
  |       <destination-jndi-name>topic/angelo</destination-jndi-name>
  |       <mdb-subscription-id>mySubscription</mdb-subscription-id>
  |       <invoker-bindings>
  |         <invoker>
  |           
<invoker-proxy-binding-name>RemoteTopic</invoker-proxy-binding-name>
  |           <jndi-name>topic/angelo</jndi-name>
  |         </invoker>
  |       </invoker-bindings>
  |     </message-driven>
  |   </enterprise-beans>
  |   <invoker-proxy-bindings>
  |     <invoker-proxy-binding>
  |       <name>RemoteTopic</name>
  |       <invoker-mbean>remote</invoker-mbean>
  |       
<proxy-factory>org.jboss.ejb.plugins.jms.JMSContainerInvoker</proxy-factory>
  |       <proxy-factory-config>
  |         <JMSProviderAdapterJNDI>RemoteJMSProvider</JMSProviderAdapterJNDI>
  |         
<ServerSessionPoolFactoryJNDI>StdJMSPool</ServerSessionPoolFactoryJNDI>
  |         <MinimumSize>1</MinimumSize>
  |         <KeepAliveMillis>30000</KeepAliveMillis>
  |         <MaxMessages>1</MaxMessages>
  |         <MDBConfig>
  |           <ReconnectIntervalSec>10</ReconnectIntervalSec>
  |           <DLQConfig>
  |             <DestinationQueue>queue/DLQ</DestinationQueue>
  |             <MaxTimesRedelivered>10</MaxTimesRedelivered>
  |             <TimeToLive>0</TimeToLive>
  |           </DLQConfig>
  |         </MDBConfig>
  |       </proxy-factory-config>
  |     </invoker-proxy-binding>
  |   </invoker-proxy-bindings>
  | </jboss>

ejb-jar.xml:

<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise 
JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  | <ejb-jar>
  |   <display-name>TestBeanJMS</display-name>
  |   <enterprise-beans>
  |     <message-driven>
  |       <ejb-name>TestBean</ejb-name>
  |       <ejb-class>testjms.TestBean</ejb-class>
  |       <transaction-type>Container</transaction-type>
  |       <message-driven-destination>
  |         <destination-type>javax.jms.Topic</destination-type>
  |         <subscription-durability>Durable</subscription-durability>
  |       </message-driven-destination>
  |     </message-driven>
  |   </enterprise-beans>
  |   <assembly-descriptor>
  |     <container-transaction>
  |       <method>
  |         <ejb-name>TestBean</ejb-name>
  |         <method-name>*</method-name>
  |       </method>
  |       <trans-attribute>Required</trans-attribute>
  |     </container-transaction>
  |   </assembly-descriptor>
  | </ejb-jar>

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857031#3857031

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857031


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to