jms « jndi « Java Enterprise Q&A





1. How do I set up a mock queue using mockrunner to test an xml filter?    stackoverflow.com

I'm using the mockrunner package from http://mockrunner.sourceforge.net/ to set up a mock queue for JUnit testing an XML filter which operates like this:

  1. sets recognized properties for an ftp server ...

2. Java EE and application servers - What can i do?    stackoverflow.com

I decided that it is time for me to dig into the whole Java EE stuff. I am using EE some techniques whithin Java SE like JPA or JMS, but i ...

3. Why is my JNDI lookup for a QueueConnectionFactory returning null?    stackoverflow.com

I am trying to look up a QueueConnectionFactory and Queue via Geronimo's JNDI. The Queue gets returned fine, but the QueueConnectionFactory lookup always returns null. It doesn't throw a NamingException, which ...

4. add a Queue JNDI ref in ejb-jar.xml? sending JMS Msg in a EJB/MDB    stackoverflow.com

I have an EAR application which contains an MDB and a WAR. In this EAR application I would send a message into an another Queue from other EAR application. Say jms/anotherQueue If the ...

5. How to use Java to connect to JBossMQ server by JNP Protocal?    stackoverflow.com

I would like to create java client project to connect to JBossMQ server by use JNP Protocal. but It have error "org.jboss.jms.exception.MessagingNetworkFailureException " when it start to create connection. Could you help me ...

6. How can I get an existing JMS queue?    stackoverflow.com

I feel like this is probably a pretty simple question, but this is my first foray into JMS, so I am a little unsure. I am trying to write to an existing ...

7. Why ClassCastException on JMS ConnectionFactory lookup in JNDI?    stackoverflow.com

What might be the cause of the following ClassCastException in a standalone JMS client application when it attempts to retrieve a connection factory from the JNDI provider?

Exception in thread "main" java.lang.ClassCastException: ...

8. Which JMS ConnectionFactory shouuld one use on JBoss 5.1?    stackoverflow.com

I have generic question on using JMS provided by JBoss 5.1. I deploy my JEE application (implemeneted using Spring Framework) on JBoss 5.1. The application is using Spring to consume messages from ...

9. JBoss 5 JMS Jars Needed to use it    stackoverflow.com

I need to configure the JMS in JBoss 5. I'm looking for the jars to do so. Does anyone knows what Jars are needed to compile this lines of code?

  ...





10. JNDI required to use Tuscany to listen on a JMS topic?    stackoverflow.com

I'm trying to connect to a JMS topic using Tuscany (this is with the 2.0 beta2) and I can't seem to bind properly. Here is my component entry in my composite ...

11. How to use JNDI in jms    stackoverflow.com

i am learning JMS tried a simple example below but it gives error

package pointToPoint;
import javax.naming.InitialContext;
import javax.jms.Queue;
import javax.jms.Session;
import javax.jms.TextMessage;
import javax.jms.QueueSession;
import javax.jms.QueueReceiver;
import javax.jms.QueueConnection;
import javax.jms.QueueConnectionFactory;

public class Receiver
{
    public static void ...

12. How to register new JNDI name at run time by our program?    stackoverflow.com

Is there any way to create/register new JNDI name at run time in JBoss from our java class? Want to add new Queue on newly created JNDI name. Thanks in advance.

13. JBoss- JMS - Failed to download and/or install client side AOP stack    stackoverflow.com

When tried to build a JMS Client to get a connection to messaging on JBoss5(default configuration), I encounter this error(at line: Connection conn = qcf.createQueueConnection();). This is maven project with following ...

14. configure jndi.xml in serviceMix to work with MQseries    stackoverflow.com

My j2EE app is currently running on ServiceMix. Now i want to add JMS to my app. The application should able to send/receive the JMS message to/from the queue that ...

15. What is the use of the "java:" prefix when doing name lookup in jboss?    stackoverflow.com

I was running an application deployed on a JBoss server which contained jboss-messaging deployments. The application tried to connect to a jbossmq destination deployed on another JBoss server. I tried to ...

16. How to do JNDI lookup with OracleAQ?    stackoverflow.com

Can anybody point me some guide/idea on how to implement JNDI lookup with OracleAQ? ( Creating connectionFacotry, parameters for "java.naming.factory.initial", java.naming.provider.url etc..)





17. JNDI lookup gives "NullPointerException" when do lookup for a queue in LDAP    stackoverflow.com

I have successfully registered and retrieved the connection factory object from LDAP server.But when i try to look up for queue from LDAP server it gives NPE. I'm using OracleAQ with ApacheDS.. My ...

18. JMS p2p failover pattern in order to guarantee delivery    stackoverflow.com

Im a web developer ended up in some j2ee development (newbie). I sincerely need this theory confirmed. I been given the privilege to deliver a message from our system (producer) to ...

19. JMS Point to Point JNDI settings    jmeter.512774.n5.nabble.com

Hi All, I am trying to use the JMS Point to Point test plan to publish message to TIBCO EMS. Right now configured all the settings Initial Context Factory, QueueConnectionFactory, ProviderURL, JNDI name request queue. When I start the test plan the server says invalid username. We have the authentication information with us but we dont know how to ...