Announcement Announcement Module
Collapse
No announcement yet.
How to configure Spring for JBossMQ Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to configure Spring for JBossMQ

    Hi,

    I am trying to implement a "Point to Point" example from the JBossMQ
    using the Spring framework.

    This example calls for the following JNDI entries in jndi.properties

    java.naming.factory.initial=org.jnp.interfaces.Nam ingContextFactory
    java.naming.provider.url=localhost:1099
    java.naming.factory.url.pkgs=org.jboss.naming:org. jnp.interfaces
    java.naming.security.principal=guest
    java.naming.security.credentials=guest


    Can someone please instruct me how can I use these or translate these into Spring understandable values, so that I can use JMS Template.

    Thank you in advance,
    Edmon Begoli

  • #2
    Hi!

    I have the same question / problem, can't figure this one out :/

    Comment


    • #3
      You most likely won't need to worry about those settings when configuring a web application to send / receive messages. The web application can lookup connectionfactories / destinations from the container.

      See this thread for some examples. About halfway down, look for the configuration examples for web.xml, jboss-web.xml and the Spring application context.

      Tim

      Comment

      Working...
      X