jms 2 « jms « Java Enterprise Q&A





1. How does JMS Receive work internally?    stackoverflow.com

I've been researching various communication technologies/architectures/patterns/implementations (read: buzzwords) including Web Services (WCF, Axis2), ESBs, SOA, and wanted to know more about JMS with regards to messaging. Conceptually, JMS sounds simple. My ...

2. Could not send to JMS message Queue from .NET    stackoverflow.com

Iam trying to connect to JMS WebLogic Service to post in Message Queue from .NET Console Application. Iam getting below error. Pls help. Problem creating context --> WebLogic.Messaging.Transport.TransportException: Failed to connect ...

3. JMS Vs JPPF (Java Parallel Processing) Frameworks    stackoverflow.com

Can anybody share their knowledge on JMS & JPPF framework? ( eg. Which one is best for certain requirement, difference between these two frameworks ? ) Thanks in advance. Regards.

4. Is MQ publish/subscribe domain-specific interface generally faster than point-to-point?    stackoverflow.com

I'm working on the existing application that uses transport layer with point-to-point MQ communication. For each of the given list of accounts we need to retrieve some information. Currently we have something ...

5. jms and different versions of enums    stackoverflow.com

My team provides a service to another team in the company via jms. This involves an enum which is passed in to us as part of a larger object. ...

6. Copying files from one server to another    stackoverflow.com

We have a JMS server which mainly used to communicate between two boxes.(Tibco) processes which run on both boxes basically read an input XML ,processes it and conevrts them to flat ...

7. Exception null while trying to set the value jms/Topic    stackoverflow.com

i'm on this problem since a very long time and I really can't understand where the problem come, maybe you can help me. I'm creating a J2EE web application using JMS topics ...

8. JMS Development Best Practice    stackoverflow.com

In production we have multiple containers deployed and any one can be a consumer of one JMS queue. In our development environment, we have multiple developers each with a container that ...

9. Messaging bus + event storage + PubSub    stackoverflow.com

I'm looking at building an application which has many data sources, each of which put events into my system. Events have a well defined data structure and could be encoded using ...





10. Can I use JMS with a regular(i.e not J2EE ) Java Application?    stackoverflow.com

I'd like to use the Java Message Service but it says it's for the Java EE Platform. Is there a way to port it to a regular Java ...

11. How to use a progress bar to show a jms task?    stackoverflow.com

I need to process and send an xml file over jms multiple times. Since it takes time, i would like to use a progressbar in jframe showing the progress. I searched ...

12. Java Bean CDI Null Pointer Exception    stackoverflow.com

i have a normal java bean which is singleton with jms resource like this :

@Resource(lookup="jms/queueConnectionFactory")
  private QueueConnectionFactory myQueueConnFactory;

  @Resource(lookup="jms/myQueue")
  private Queue myMessageQueue;

  private Connection myConn;
  ...

13. MessageConsumer/MessageProducer vs QueueSender/QueueReceiver    stackoverflow.com

Is the MessageConsumer/MessageProducer the XA equivalent of QueueSender/QueueReceiver? As far as I can understand the MessageConsumer/MessageProducer are better used in a XA context. In my app I want to switch from QueueConnectionFactory, ...

14. Unusual Java behavior - why does this work?    stackoverflow.com

I've found some interesting behavior... I can't decide if it's a bug or incompetence, but currently leaning towards incompetence. This code will not enter the loop, even if there are messages waiting:

Message ...

15. concise JMS definition in Geronimo DD plans    stackoverflow.com

I got 6 EAR applications running on Geronimo with ActiveMQ and each EAR has more than one queue, e.g. 5. (different queue is associated to different MDB class)

application 
    ...

16. Cache values in Java EE    stackoverflow.com

I'm building a simple message delegation application. Messages are being send on both ends via JMS. I'm using a MDB to process incoming messages, transform them and send them to a ...





17. JMS - Multiple Databases    stackoverflow.com

I have to design new system that collect data from 3 other databases in an interval of 15 minutes. So can I use JMS? if yes, please show how I can ...

18. Database Trigger And JMS    stackoverflow.com

Cound I create a trigger to send a record message to JMS? If yes, how can I do? Thanks in advance!

19. Java JMS - how to process large number of destinations with no parallelism per destination    stackoverflow.com

I'm looking for advice on a JMS-based architecture... My application needs to receive JMS messages on behalf of thousands of different destinations, and then deliver to the destinations via non-JMS protocols (i.e. ...

20. Can or is the Object held within a JMS ObjectMessage the same instance as when published?    stackoverflow.com

I think this is a stupid question, but I can't quite find the answer I'm looking for in the JMS getting started guide, or indeed elsewhere on the web. ...

21. JMS strange problem    stackoverflow.com

I have a problem in a system where ~500 servers are communicating with central server through JMS over ~1000 topics. It's a 10 year old system and it worked good until ...

22. Griffon JMS plugin    stackoverflow.com

I'm starting to learn Groovy with a Client-Server architecture. As the server I have a Grails application that contains a JMS topic. For the client I have a Griffon application, which ...

23. java technology for chat application    stackoverflow.com

I want to develop a web chat application .which java technology is best for chat application(text and video chat)? I have heard of Java Messaging Service (JMS). Is that good enough?

24. How to quit a java program at a specific time    stackoverflow.com

I have a JMS listener app, and the class QueueReceive implements MessageListener.the main function as below:

public static void main(String[] args) throws Exception {

    InitialContext ic = getInitialContext();
  ...

25. How to use Java JMS with MQseries    stackoverflow.com

I am trying to develop a JMS standalone application to read and write to a Queue on MQSeries. My boss asked me to use pure java JMS (not ibm.mq lib) to ...

26. Is it possible to write the JMS Reciever with out a count down    stackoverflow.com

I'm new to JMS. Please correct me if my question does not make sense. Im writing a program which use jms to send objects. But in my program the number of objects ...

27. Creating multiple instances of one MessageDriven Bean    stackoverflow.com

I'm using a MessageDriven Bean in two different applications, and I'd like them to be separate instances using separate Queues. This SO question confirmed my notion that I should be able ...

28. Qpid ObjectMessage deserailization problem    stackoverflow.com

I have a simple POC for my problem. I have a producer and a consumer to read and write ObjectMessage to Qpid queue. All that the Dummy object has, is a ...

29. Stop JMS rollback under certain conditions    stackoverflow.com

I have the following situation. A MDB is listening on a queue on which messages are being sent. The onMessage method makes several chained EJB calls, all with Requires_New transaction attribute. ...

30. JMS/MDB rollback    stackoverflow.com

We have a application, which reads of JMS and does some database transactions, all as part of one XA transaction.. If we find the message has some problems, we want to rollback ...

31. Same interface for all tiers    stackoverflow.com

I am working on a system with one master and multiple clients that communicate using JMS. The server is a three tier application written in Java. In the server's data access layer, ...

32. Opinion: JMS vs ebXML    stackoverflow.com

This is not so much a question as it is a request for opinion on these two technologies. A little background on this: I suggested the use of JMS on an ...

33. when is messaging (JMS based brokers/queues) an overkill?    stackoverflow.com

JMS based brokers are a very useful tool to decouple systems. However, invariantly the thin line between architecture and bloat is crossed. As someone with theoretical understanding of brokers, but without ...

34. JMS Timeout or TimeToLive    stackoverflow.com

I am fairly new to JEE and JMS and am looking at doing an implementation using JMS. Think of the following scenario: Scenario A user hits a servlet. A message is then put ...

35. About JMS system structure    stackoverflow.com

I’m writing a server/client game, a typical scenario looks like this: one client (clientA) send a message to the server, there is a MessageDrivenBean in server to handle such messages. After ...

36. Cunning classloader solution/hack needed for making child CL JMS interfaces available in parent CL    stackoverflow.com

I'm writing a multi-vendor JMS adapter, and some silly licensing issues have thrown up the need for a cunning classloader solution/hack - it isn't going to be pretty, but I'd love ...

37. javax.jms.MessageConsumer hangs on receive when consumer closed    stackoverflow.com

According to the javadoc, if I call receive() on a javax.jms.MessageConsumer it will block indefinitely until a message is produced or until the message consumer is closed. I have a thread in ...

38. Run jms independence platform    stackoverflow.com

When I logon with guest account, I can't initial the context, so jms is dependenced to platform? If run it on other OS (Linux,...) that without MessageQueue (on windown)=> can it ...

39. how to import jms    stackoverflow.com

I've just started using my Eclipse to test some jms codes. The thing is... Eclipse uses JRE standard libs; When I write code like a

import javax.jms.*;
no lib is identified. ...

40. Durables using SoapUI and Hermes    stackoverflow.com

We are facing a major problem with soapui when using with Hermes JMS. When we send a message over a queue and expects to receive response on a topic, SoapUi will ...

41. Run multiple JMS Consumers on different JVM    stackoverflow.com

I have JMS Queue which has hundreds of jobs running and have multiple consumers on the same jvm which are processing to Queue to pick the job and process them, the ...

42. Advanced testing af JMS    jmeter.512774.n5.nabble.com

Hi there I have a project where I would like to inject JMS-messages into a system using JMeter. Each message contains an internal id (not thinking about the mesageid) and each message is then put on a queue. The system then takes a while to process each message and in turn returns a new message containing the same id as the ...

43. How to define the TTL in JMS P2P test plan ?    jmeter.512774.n5.nabble.com

44. how to post JMS MapMessage    jmeter.512774.n5.nabble.com

Hi, I have a jms producer that sends a jms MapMessage to a request queue that is read by a jms consumer. I want to know how can I load test this functionality in the sense how can I post a MapMessage in jmeter. Tried giving message content in a typical map key value pair format but does not work. Can ...

45. javax.jms.JMSException: User name or password is invalid.    jmeter.512774.n5.nabble.com

46. Jmeter2.3.1 JMS Publisher Problem    jmeter.512774.n5.nabble.com

Hi Jmeter Community, I am new to Jmeter. I am using Jmeter2.3.1. I want to perform some JMS test using Jmeter. I am using JMS publisher & provided following values for the fields InitialContextFactory= org.apache.activemq.jndi.ActiveMQInitialContextFactory ProviderUrl= tcp://localhost:61616 ConnectionFactory= ConnectionFactory Topic= example.MyTopic My ActiveMQ server is also running in local machine. Running my Jmeter publisher i am getting following error 2008/06/10 17:37:25 ...

47. JMS Assertion??    jmeter.512774.n5.nabble.com

Hi All, The web application I'm testing uses JMS queues for communicating externally when certain events occur. The JMS point to point sampler in JMeter only provides for Request and Request/Response tests, however almost all of the messaging I will be testing will be driven by a HTTP request, i.e. make a HTTP request and there should be a corresponding message ...

48. JMS Configuration-[OEMS]-[5-Jan-2008]    jmeter.512774.n5.nabble.com

Hello Friends, We have DB Backed JMS configured in Oracle SOA Suite. We have configured resourceadapters, connection factory, adminstered objects , destinations. When we give the jndi name , we are getting namingnotfound exception in the jmeter. Is it possible to test DB Backed JMS with jmeter. If so kindly give us the screenshot or values to be configured Regards

49. JMS ConnectionFactory problems    jmeter.512774.n5.nabble.com

50. JMS in combination with authentication    jmeter.512774.n5.nabble.com

Hello JMeter users, I have figured out how to send JMS messages to IBM MQSeries. We can send messages to a queue manager which is not secured with a user and a password. The trick is easy: - use the com.sun.jndi.fscontext.RefFSContextFactory class as initial context factory with a url to the JNDI repository; - use IBM JMSAdmin tool to create a ...

51. JMS issue    jmeter.512774.n5.nabble.com

> Hi all, > > I am currently using the latest CVS version of Jmeter and it has JMS > support. There is however one big error in the implementation, if I send > JMS messages using multiple threads it occurs as soon as approximately > 100messages using 3 threads that JMeter stops the test and reports that > it cannot ...

52. JMS Point-to-Point - MQ doesnt allow JMSConstants as setStringProperty()    jmeter.512774.n5.nabble.com

I wanted to use the JMS Point-to-Point Sampler for placing messages on a queue on websphereMQ. Just to clear the basis, it worked perfectly. As I tried to introduce the JMS_TYPE constant as a property i got the error : "MQJMS1058". Same with the JMS_PRIORITY. I figuered out the problem is that one needs to use the specific method ( setJMPriority() ...

53. JMS Point-to-Point Sampler-RequestResponse-Fails    jmeter.512774.n5.nabble.com

Hi: I have configured a JMS Point-to-Point sampler with communication style Request Response using JNDI settings. JMeter was successfully putting the message into the Request Queue but not able to get the message from Receive Queue. It is failing with an error as below: ------ 2007/11/08 17:21:55 INFO - jmeter.protocol.jms.sampler.Receiver:Receiver - ctor. Connection to messaging system established 2007/11/08 17:22:00 INFO ...

54. JMS Point-to-Point    jmeter.512774.n5.nabble.com

Hi guys. We are trying to use JMS Point-to-Point sampler, our current plan is to run a web service request and correlate the messageID from the response, we then use JMS Point-to-Point as a listener. 1. Is it possible to do this? 2. How do we tell ...

55. JMS Subscriber and properySelector    jmeter.512774.n5.nabble.com

56. JMS Subscriber - non interruptible - reason why?    jmeter.512774.n5.nabble.com

I've got a test running under JMeter 2.3.4, that uses JMSSubscriber that I'm having problems with. Sometimes the test doesn't complete because the required number of messages don't reach the queue. When I try to 'stop' the test, I get a pop-up that says JMeter can't stop some of the threads, and the following appears in the jmeter.log: ...

57. JMS    jmeter.512774.n5.nabble.com

Hi I'm using JMeter to test load in my applications, specially with my JMS app's and have some doubts that may be somebody could clarify. 1 - To create a subscriptor I need to pass some jndi parameters that can be in a properties file. Where should I place this file ? 2 - Subscriptor screen in JMeter ask me for ...

58. JMS with large files    jmeter.512774.n5.nabble.com

Hi, I am trying to load test my ActiveMQ 5.5.0 with JMeter 2.4 with large files (not that large but I tried with 8 and 24 MB) I setup two Thread Groups (one with a single publisher, the other with a single subscriber) In my test case I need to test 6 messages per minute, so I set number of threads ...

59. Point to point + jms    jmeter.512774.n5.nabble.com

hello I have a littel problem I am testing Point to point with Jmeter in the manuel the Recieve QUEUE = Q.RPL but when i do this i recieve an error "Name not found Exception" for the name of the queque! (where can i find where this queue is declared? i don't find the jndi.property file) When i do the ...

60. Point-To-Point JMS Test Plan Features    jmeter.512774.n5.nabble.com

61. Problem with JMS Subscriber    jmeter.512774.n5.nabble.com

add it to the jmeter/lib/ directory. or, if you are using the latest JMeter, you can add the jar in the GUI. peter On 5/18/06, Tobias Beisel <[hidden email]> wrote: > > I tried to use the messaging-library coming with the activeMQ. But how > can I get JMeter to use the specific jar-file? Adding it to the > classpath ...

62. Re: JMS Assertion??    jmeter.512774.n5.nabble.com

JMeter - User - Re: JMS Assertion?? JMeter JMeter - User Re: JMS Assertion?? Classic List Threaded Locked 18 messages Joo Tiago Ferreira Reply | Threaded Open this post in threaded view | Report Content as Inappropriate Re: JMS Assertion?? Hi I was interested in such a feature. It was ...

63. Re: JMS Subscriber - non interruptible - reason why?    jmeter.512774.n5.nabble.com

I've starting working on adding Interruptible to SubscriberSampler.java, no problems there, simple 3 line function for now. However, the Thread group that the JMS Subscriber is called from never ends when you try and interrupt the test. The log looks something like this: INFO - jmeter.gui.action.start: Stopping test INFO - jmeter.threads.JMeterThread: Stopping my thread WARN - jmeter.threads.JMeterThread: Interrupting: my thread sampler: ...

64. Re: JMS Subscriber - non interruptible - reason why?    jmeter.512774.n5.nabble.com

65. started writing JMS docs    jmeter.512774.n5.nabble.com

66. Using JMS point to point    jmeter.512774.n5.nabble.com

Hi http://jakarta.apache.org/jmeter/usermanual/build-jms-point-to-point-test-plan.html should be a good start point. Another completely different way of testing java JMS code is using a mock JMS provider, I currently use http://mockrunner.sourceforge.net/. I hope it helps Best Regards Joo Ferreira > -----Original Message----- > From: waseemfa [mailto:fazal.waseem@gmail.com] > Sent: segunda-feira, 21 de Junho de 2010 10:26 > To: jmeter-user@jakarta.apache.org > Subject: Using JMS point to ...

67. Using Variables with JMS Subscriber    jmeter.512774.n5.nabble.com

I wish to define a number of subscribers,as different threads, each of which subscribes to a different topic. I am trying to use a CSV Data Set Config Element to load the variables from a file - basically, a single Variable, named Topic, that is a single column of 5 values. While this is working with JMS publishers, I am unable ...

68. Wrong results for JMS Subscriber    jmeter.512774.n5.nabble.com

Hi, While running a test for JMS topics, found out that there is a difference between the count in the number of messages published and subscribed. The #Samples gives wrong count of the number of messages. Confirmed this by checking the values through JConsole in java and found out that the number of messages displayed there are ...

69. A Beginner Question about JMS    coderanch.com

70. JMS software requirements    coderanch.com

I am confused with the software requirements for developing JMS applications. I am looking at iPlanet Message Queue for Java and would appreciate if anyone can tell me if the following is right? iPlanet Message Queue for Java (iMQ) Known Requirements: a) Sun J2SE JDK version 1.3.0 b) iPlanet iMQ for Java Dev Edition 2.0 Do I need the following? c) ...

71. Java Message Service - Open Source    coderanch.com

73. JMS - Related    coderanch.com

74. JMS example    coderanch.com

75. How to use JMS    coderanch.com

Actually iam working in FioranoMQ7.2 and i want 2 create a simple jms application but iam not thorough about it practically.I just wanna make a try simply without any JMS providers using import packages just to experience how actually it works.If anyone knows then please tell me in detail right from the scratch alongwith the configurations and seetings needed to make ...

76. JMS books    coderanch.com

77. starting jms    coderanch.com

79. JMS and MQ    coderanch.com

I often Google for "Java somethingnew tutorial" and almost always get a good hit from Sun or university class notes. This looks good. You mentioned MQ ... IBM MQ-Series? The nice thing about JMS is that it works with any number of implmentors so you can practice up with the a simpler implementation and then move to the more complex world ...

80. JMS example    coderanch.com

Hi - Can anyone please tell me step by step, how to set up my pc, Sun application server and program to use JMS. I have been trying to send messages between applications but I keep getting exceptions, mostly class not found. I have been adding JARs from my application server directory in my application CLASSPATH but I keep getting more ...

81. JMS    coderanch.com

Hello, I would like to have some clarification. JMS is an API for messaging if I am not mistaken. In the tutorial it is mentioned about many features. Can some one tell me how does it differ in terms of alert or messaging Eg: I can have a db trigger to check my quantity level and fire an email using java ...

83. javax.jms.* and javax.naming.* ?    coderanch.com

84. JMS    coderanch.com

85. JMS without application server    coderanch.com

86. javax.jms.*    coderanch.com

87. Java 1.5 & IDE 3.2 with jms    coderanch.com

The error messages means that there are two classes named Queue, and the compiler doesn't know which of the two you meant. Look at the import statements in your source file. You're most likely importing the classes and interfaces of two packages which both have a class named Queue. Change the imports to that only the class Queue that you need ...

88. JMS and SSL Readings and/or Resource    coderanch.com

Hi I have just been assigned to do an estimate for having our application call into MQ server over SSL. I now what JMS. MOM and SSL but that's about it. Any suggested readings or resource on JMS, JMS SSL or setting a MOM. A tutorial on setting up a simple JMS server and client over SSL would be excellent. Know ...

89. Help with sample JMS program. Getting NoClassDefFoundError, ClassNotFoundException    coderanch.com

Greetings, I am trying to work through a sample JMS application from the O'Reilly book Java Message Service (2nd edition). The code from the book is posted at the bottom of this post. The sample Chat program is very simple. The book mentions that I need to add activemq-all-5.2.0.jar to my classpath. So I used the following command to build the ...

90. error on import javax.jms.*;    coderanch.com

91. [SOLVED] Package javax.jms not part of standard jdk install ?    coderanch.com

My java compiler complains about the above package not being available. However there is no problem with javax.naming. Have I botched up something with my java jdk install or is javax.jms simply not part of it ? If not, what is the "correct"/standard way to use it ? Should I simply get the .class files and place where I have the ...

92. Disadvantages of JMS    coderanch.com

93. JMS programs in AS400 QShell    dbforums.com

I'm are trying to execute JMS programs in AS400 QShell. Find attached the details below. MQSeries 5.2 is installed. JDK 1.3.1 JMS is applied I have to execute java program for MQ from QShell few times. I get the error. I doubted some environment problems. So i executed the installation verification program. We are executing verification test for MQ installation from ...

94. JMS in JEE5 and in J2EE 1.4    java-forums.org

95. How to use JMS?    java-forums.org

We want to have an application which is a centralized source of records, and other applications reference it/rely on it for data. All those other applications can make updates the the data held within this centralized source. For example imagine these records are employees, and some properties may include job title, work number, pay rate, etc... All this employee data is ...

96. How to receive mail using JMS    java-forums.org

97. jms    forums.oracle.com

98. Javax.jms    forums.oracle.com

99. JMS beginner    forums.oracle.com

100. question about JMS package    forums.oracle.com