Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8173103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:00:56+00:00 2026-06-06T22:00:56+00:00

I am working on Spring3.1 in a standalone env. I am trying to consume

  • 0

I am working on Spring3.1 in a standalone env.

I am trying to consume messages remotely from a jboss4 machine(having Jboss messaging 1.4 as a the jms provider)

After searching in the net I am kind of lost.

what I have done so far is to config my applicationContext with this:

<bean id="tgwTopic" class="org.springframework.jndi.JndiObjectFactoryBean"
    depends-on="jmsServerManagerImpl">
    <property name="jndiName" value="/topic/feedTopicRealTime" />
    <property name="jndiEnvironment">

        <props>
            <prop key="java.naming.provider.url">remove.server.url:1099</prop>
            <prop key="java.naming.factory.initial">org.jnp.interfaces.NamingContextFactory</prop>
            <prop key="java.naming.factory.url.pkgs">org.jboss.naming:org.jnp.interfaces</prop>
            <!-- other key=values here -->
        </props>
    </property>
</bean>

and this is my java bean:

   @Service("TGWMDB")
public class TGWMDB implements MessageListener
{
       @Autowired   Topic tgwTopic;

      public void onMessage(Message message)
      {
      }

}

thanks,
ray.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:00:58+00:00Added an answer on June 6, 2026 at 10:00 pm

    You need a message listener container; it’s all explained here…

    http://static.springsource.org/spring-framework/docs/3.1.1.RELEASE/spring-framework-reference/html/jms.html#jms-asynchronousMessageReception

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I developing under Spring3.1 standalone env. I am trying to connect my application remotely
As the title suggests, I'm trying and failing to get the following combination working
What I'm trying to achieve is the following. I'm (still) working on a timesheet,
I am working on a Spring 3 project and trying to write RESTful services.
My web project was working perfectly, it includes: spring3 and hibernate3 . After renaming
My web project was working perfectly, it includes: spring3 and hibernate3 . After renaming
I'm working with Spring/Hibernet using NetBeans 6.9.1. I'm trying to read an Excel file
I'm currently working on a java application. It's a standalone client with Spring and
I'm trying to integrate Camel with WebSphere. It is working fine, for all but
So i'm working on a project (JSF2, Spring3 Core, MVC, Webflow, MyBatis3, RichFaces, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.