Congrats Ivelin. 

If you modify the messaging module can you also update jboss-head.
I spent a lot of time merging the two codebases a couple of
weeks ago. I would hate for them to diverge again so soon :-)

But you might have to wait until DR3 is out, since it
is currently under a feature freeze. Bill?

I also wrote a jndi double alias so you can have different bindings
for remote/local usage. (currently only in head).


  |    <mbean code="org.jboss.naming.LinkRefPairService"
  |           name="jboss.jmx:alias=XAConnectionFactory">
  |       <attribute name="JndiName">jms/XAConnectionFactory</attribute>
  |       <attribute name="RemoteJndiName">XAConnectionFactory</attribute>
  |       <attribute name="LocalJndiName">java:/XAConnectionFactory</attribute>
  |    </mbean>
  | 

Then on the provider we just have:


  |    <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
  |           name="jboss.mq:service=JMSProviderLoader,name=DefaultJMSProvider">
  |       <attribute name="ProviderName">DefaultJMSProvider</attribute>
  |       <attribute 
name="ProviderAdapterClass">org.jboss.jms.jndi.JBossMQProvider</attribute>
  |       <attribute name="QueueFactoryRef">jms/XAConnectionFactory</attribute>
  |       <attribute name="TopicFactoryRef">jms/XAConnectionFactory</attribute>
  |     </mbean>
  | 

Then if the JMSServer is local, we use the in memory connection factory
"java:/ConnectionFactory" otherwise we use the remote version "ConnectionFactory".

Regards,
Adrian

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825559#3825559";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825559>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to