• Post Reply Bookmark Topic Watch Topic
  • New Topic

JMS - Dependency Injection Problem

 
Amandeep Singh Ghai
Greenhorn
Posts: 27
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created an 'Application Client Project' (that has static main method) in Eclipse to be able to generated messages to a Queue & deployed it in JBoss AS 7. However, the dependency injection (code below) is not working for some reasons.



Although I could see the the JNDI Bindings in the JBoss deployment.

Please gives suggestions!
 
Himai Minh
Ranch Hand
Posts: 1400
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess your lookup name is not found. You may want to go to the deployment descriptor or JBoss configuration to check the name of the ConnectionFactory.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!