jms 1 « jms « Java Enterprise Q&A





1. Which JMS implementation do you use?    stackoverflow.com

We are using ActiveMQ 5.2 as our implementation of choice and we picked it a while ago. It performs well enough for our use right now. Since ...

2. what is JMS good for?    stackoverflow.com

I'm looking for (simple) examples of problems for which JMS is a good solution, and also reasons why JMS is a good solution in these cases. In the past I've simply ...

3. Best Java Messaging Service Books    stackoverflow.com

I'm looking to get up to speed on JMS for my job. Is there a JMS book that is a must have, or are some better than others? Or ...

4. MQRA:MC:Warning:createConnection API used w/o username, password for Application Auth|#]    stackoverflow.com

Anyone know why does this error occur exaclty and how to resolve it? It seen to occure only when we hit exception [#|2008-11-14T14:49:12.482+0800|WARNING|sun-appserver-pe8.2|javax.enterprise.system.stream.err|_ThreadID=12;| MQRA:MC:Warning:createConnection API used w/o username, password for Application Auth|#]

5. javax.jms.JMSException: Enlist failed caused by XAER_RMERR    stackoverflow.com

Any idea why this might happen. Usually the error happens on message arrival. It causes listener to restart. Actual message did not get consumed. The log dumps follow. [11/19/08 10:55:37:552 GMT] 1cc4d8ed ...

6. Enterprise-grade template printing system    stackoverflow.com

I'm looking for an enterprise-grade template printing system. I'm interested in every software I can get my hands on to evaluate. Commercial or not. What I need - a separate system ...

7. Connectivity to mainframes using JMS    stackoverflow.com

We are currently using WebSphere MQ to fetch data from mainframes and at times face issues on the MQ side. I would like to know if there is someway to circumvent ...

8. JMS rollback    stackoverflow.com

I have a process which involves sending a JMS message. The process is part of a transaction. If a later part of the transaction fails, a part that is after a previous part ...

9. How to set MQMD ApplicationID field via JMS API?    stackoverflow.com

I'm using the JMS API to send messages to a Websphere MQ server. The application that pulls the messages i create want's me to set up the ApplicationID field in the MQMD structure ...





10. Need Help with Java JMS ResourceAllocationException    stackoverflow.com

I am getting the following error:

javax.jms.ResourceAllocationException: [C4073]: A JMS destination limit was reached. Too many Subscribers/Receivers for Queue
The setup was done in such a way that there ...

11. Is IBM MQ V6.0 setting JMSXDeliveryCount property?    stackoverflow.com

I need to implement handling of redelivery of JMS messages in the application that is deployed on the IBM-backed environment, so JMS provider is standalone MQ V6.0. Do you know if it ...

12. How to ignore hostname in SSH tunnel    stackoverflow.com

Here is a trivia question for any ssh/ssl experts. In our corporate office we have a JMS app (Tibco EMS) running on a server behind a firewall which blocks most ports. I ...

13. Platform independent streams    stackoverflow.com

We have two systems, one based on JMS and another based on WebSphere MQ. There is client A which sends a message to a topic configured in JMS. Another client B which ...

14. Do you know any good introduction to JMS for IBM MQ (MQSeries) person?    stackoverflow.com

I've been looking for a good JMS introduction for the person who knows IBM MQ (MQSeries) very well. She is very experienced working with MQ-based systems on mainframe, but she asked ...

15. How to Configuring ConnectionFactory JMS on JBossAS5?    stackoverflow.com

This is the first my question in this forum.. :) please help me about how to configuring JMS ConnectionFactory on JBossAS5.. i have created a simple MDB application :

@MessageDriven(name = "MessageMDBSample", activationConfig = ...

16. Configuring a 'retry delay' in MQ Series    stackoverflow.com

I'm hoping someone can help me - I'm using JBoss 5.1 and MQ Series 7 in an EJB / JMS based application. I have several message driven beans in my ...





17. J2EE Download Link    stackoverflow.com

I know this is a stupid question and I really have been looking around for a few hours... but how can I get J2EE? I would like the j2ee and ...

18. Why is JMS not included by default in JDK?    stackoverflow.com

JMS API is not part of JDK 6 as JDBC is. Why is JMS not a part of JDK? Is it because is very old with no progress?

19. Creating TemporaryQueues    stackoverflow.com

I have tried to create and use a TemporaryQueue in JMS. My producer succeeds but my consumer fails at this like, with the following error. I understand that this ...

20. JMS CreateQueue Question    stackoverflow.com

I have a general question about the JMS createQueue method. In WebSphere MQ is this method used as an alternative to the JNDI lookup? I was thinking that I ...

21. Is there an equivalent of JMS in .NET?    stackoverflow.com

Is there an equivalent of JMS in .NET?

22. JMS architectural problem?    stackoverflow.com

Greetings, In the application that I am working on, I have a long-running process (DNA analysis). Users can send requests, and I am thinking of queuing the requests in a JMS ...

23. BlazeDS point to point examples using JMSAdapter or custom MessageAdapter    stackoverflow.com

Is there any example of using JMS Queues in BlazeDS as point-to-point communication to a Flex client. I'm curious in writing a custom MessageAdapter for BlazeDS that is adapting a point-to-point message ...

24. Is it possible to have a JMS server without an application server?    stackoverflow.com

does anyone here knows if there exists a JMS server that could be executed on Tomcat or without an application server?

25. Exception: Need to specify class name in environment or system property: java.naming.factory.initial    stackoverflow.com

When i run a JMS related application, i am encountering the following exception error. javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in ...

26. Open-Source Applications using Java JMS?    stackoverflow.com

Does anyone know of open-source applications that are built on top of Java JMS? I am looking to find applications so I can study them and see how they are used.

27. Basic JMS Query    stackoverflow.com

I have a set of parameters that I need to use to access a JMS queue. Can anyone supply me with a basic example of how I can send a block of ...

28. JMS interfaces and implementations    stackoverflow.com

JMS API declare many General and concrete Interfaces (e.g., Connection vs. QueueConnection). It is documented that the best practice is to use the general interfaces (e.g. Session and not QueueSession). If my ...

29. Avoiding serialization in distributed EHCache    stackoverflow.com

Is there a way to not use serialization and still use the EHCache disktore. I have nested objects , which are not serializable, which have to cached in a distributed ehcache. I can ...

30. Work around for MessageNotReadableException in Java    stackoverflow.com

I am building a small api around the JMS API for a project of mine. Essentially, we are building code that will handle the connection logic, and will simplify publishing messages ...

31. JMS catching when a JMS server goes away    stackoverflow.com

When there is a network problem which results in the client being disconnected from the JMS server, is there some other way to detect the problem other than waiting until the ...

32. How to print PDFs automatically    stackoverflow.com

We have a number of systems that produce PDFs that need to be printed. These are stored on a central document store. A message then goes onto a JMS ...

33. How to list available destinations/topics in a SonicMQ environment    stackoverflow.com

I am trying to write a test utility to list out the various items within the SonicMQ environments I connect to. I have been able to list out a number ...

34. What do I need to realize notification using JMS?    stackoverflow.com

I just need notification system. javax.jms.* - good solution I think, but I can't understand what do I need to use JMS? I don't want to use any app. servers like GlassFish ...

35. JMSException - examples of "temporary" troubles that shouldn't trigger reinitialization?    stackoverflow.com

Looking for experiences others might have had. Or JMS spec citations, if you've got them. Our typical practice when handling a JMSException (in a try/catch or onException() method) is to fully ...

36. Strategy for Reporting on JMS Activity    stackoverflow.com

The answer to this question may be obvious to someone with more experience in data-warehousing and BI, but I am looking for some guidance. I'm building a system that uses multiple JMS ...

37. JMS Transactions + exception handling    stackoverflow.com

My requirement is to receive messages from a queue and perform some business operations and finally update a status field in DB. Now during the business processing or updating the DB if ...

38. Using JMS to connect to IBM MQ    stackoverflow.com

I want to use JMS to connect to IBM MQ. How do i specify the queuemanager, the channel and other properties ?

39. What are the alternatives of JMS?    stackoverflow.com

Do we have any alternative for JMS? Problem statement We have a component called Configuration Manager, which contains configuration of the application. This configuration manager is used by 4 instances of the application. ...

40. Lightweight JMS broker    stackoverflow.com

I'm looking for a small and yet efficient enough lightweight JMS broker solution with no or minimum of dependencies. My messaging code should be running in the environment with a lot ...

41. Esper via JMS Examples    stackoverflow.com

In the vague question department, has anyone every used Esper with JMS as an Input Adpater? If so, is there any sample code out there?

42. Messaging strategies to connect different systems    stackoverflow.com

I have a system to handle Applications online and a different system to send SMS/Email notifications to applicants on completion using web services. I can't guarantee the availability of the SMS/Email ...

43. Is JavaEE really portable?    stackoverflow.com

I'm just implementing a JavaEE assignment I was given on an interview. I have some prior experience with EJB, but nothing related to JMS and MDBs. So here's what I find through ...

44. Jar file containing the class - com.sun.enterprise.naming.impl.SerialInitContextFactory    stackoverflow.com

What is the jar file containing the class: com.sun.enterprise.naming.impl.SerialInitContextFactory I am getting the following error: javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.enterprise.naming.impl.SerialInitContextFactory while trying to run a JMS based application in Sun Java System ...

45. message queue : selection and sizing    stackoverflow.com

  • I have 20 messages/s, each 1 - 1.5 Mbytes.
  • I need High Availability (2 to 4 servers min).
  • I need low latencey (high daily volume -> full RAM prefered).
  • I need persistent poisoned messages ...

46. Encoding a JMS TextMessage    stackoverflow.com

Hello I'm receiving messages from a jms mq queue which are supposedly utf-8 encoded. However on reading the out using msgText = ((TextMessage)msg).getText(); I get questionmarks where non standard characters were present. It ...

47. JMS Priority set by a custom header    stackoverflow.com

Is there a way to prioritize the messages in the JMS broker according to a custom header value? For Example: "purchase date". get oldest first etc. Please advise.

48. What is Java Message Service (JMS) for?    stackoverflow.com

I am currently evaluating JMS and I don't get what I could use it for. Currently, I believe this would be a Usecase: I want to create a SalesInvoice PDF and ...

49. Semantics of repeated acknowledgments in JMS    stackoverflow.com

Suppose I decide to call acknowledgment() on a JMS message several times. Say the first call fails (for non-permanent reason). Does the success of the second (or any subsequent) call guarantee ...

50. Sending complex object via JMS in Java    stackoverflow.com

Is it possible to send complex messages via JMS? I can send TextMessages, Messages etc .. but when I try to send my custom object type MyObject trough send() method of ...

51. How to design non-EJB load balanced applications?    stackoverflow.com

I have a java class Processor that is listening to a jms topic and it is struggling to keep up with the speed in which messages are arriving so we've decided ...

52. Java Message Service and Haskell    stackoverflow.com

I was wondering if there is any way to receive JMS messages from some provider like ActiveMQ or WebMQ in a Haskell program. I've seen that there is a Haskell client ...

53. How to design an MQ Server?    stackoverflow.com

I'm unclear as to whether there should be a 1-1 or a 1-* relationship between:

  1. Server-Connection Channel and JMS Topic
  2. Server-Connection Channel and Listener
  3. Listener and Topic
Regards the design of our application layer, there ...

54. java.lang.UnsatisfiedLinkError    stackoverflow.com

i am trying to access MQ queues using JMS. i am getting the below

java.lang.UnsatisfiedLinkError: no mqjbnd05 in java.library.path
i am passing
-Djava.library.path="C:\Program Files\IBM\WebSphere MQ\java\lib"
as the VM argument while running the program in eclipse. ...

55. J2EE Submit a form and leave background process working?    stackoverflow.com

I need to generate a report with java (exporting data from oracle) that can take several minutes, by the amount of data involved, so when I submit my form the screen ...

56. Is JMS suitable for an online game?    stackoverflow.com

I'd like to throw together a small game and put it online. It would be multiplayer (ideally it would be MMO, but it's a side project, so I'll settle for MO ...

57. using JMS for long running processes?    stackoverflow.com

Can someone point me to a tutorial or similar code where JMS is used by a web app to execute a long running background process? (instead of using threads), I'm fairly ...

58. Accessing MQ with JMS    stackoverflow.com

i am using MQ7 and trying to access a queue with JMS api's. Getting this error. Has anyone seen it before? How do i resolve this? TIA

Exception in thread "main" ...

59. Multithreaded JMS application    stackoverflow.com

I am working on a multithreaded JMS receiver and publisher code. XML message is received from a Queue, stored procedures(takes 70 sec to execute) are called and response is send to Topic ...

60. What kind of messsaging architectures are used in huge, scalable sites today?    stackoverflow.com

Sites like Twitter and Facebook scale to hundreds of thousands of users. Most of their architectural overviews are available online as talks and slideshows. However, my question is more oriented towards ...

61. Best "free" JMS implementation (that doesn't crash all the time)    stackoverflow.com

What is the best free, or GNU licensed JMS server. We want something that is easy to install and will "just work" without too much intervention on our part. We are open ...

62. JMS usage in a JSE application    stackoverflow.com

I have a JSE application which currently uses JMS, it was written by a developer which is no longer with the company. For some reason, I really don't know if it was ...

63. Scheduling problem    stackoverflow.com

In my project I have two JMS queues one data Queue and one Business queue. multiple threads reads data from those two queues and submit it to grid of ...

64. Can anybody tell me good book or tutorial for Java Message Service(JMS)?    stackoverflow.com

I am new in JMS. Can anybody knows good books or tutorial to learn JMS?

65. JMS between Enterprise applications    stackoverflow.com

We have a project where we want to link 2 enterprise systems together using JMS. In a nutshell, system 1 sends a message to the queue. Systems2 picks up that message, does a ...

66. Java JMS clarification needed    stackoverflow.com

1 quick question, recently I came across a new concept in java called JMS. I would like to know where it exactly applies and I have a doubt that JMS is ...

67. Using JMS as a request/response service    stackoverflow.com

There are various implementations for using JMS as a request/response service. I would like to know the ideal implementation. Below are these various implementations.


1) Permanent request queue, Dynamic ...

68. Creating a JMS Correlation ID    stackoverflow.com

It is generally discouraged to use the message id returned from the JMS provider as the correlation id with which a message is published onto a queue. How have people ...

69. Should we use jms?    stackoverflow.com

my company need to send message from one server to another server. it is about 500.000 message per day. my manager insist to use jms, however he don't really understand about jms ...

70. I can't get JMS example work with Eclipse    stackoverflow.com

I'm using Eclipse and when I try to build the JMS example included in j2ee tutorial, it return a NullPointerException at this: connection = connectionFactory.createConnection(); (I used the annotation @Resource(lookup = ...

71. WMQ AMS keystore    stackoverflow.com

Can I use the same keystore and cert for AMS that my app already uses?

72. Can JMS be used in all cases where asynchronos messaging is required?    stackoverflow.com

I know that JMS is a option to handle asyn message communication between two discrete systems, my question is whether it has to be used in all cases or there is ...

73. is there any light weight JMS API available    stackoverflow.com

I would like to know if there is any open source light-weight JMS API which can be embedded right in to my web application

74. what is the purpose of Context in JMS?    stackoverflow.com

I would like to know what is the purpose of Context at JMS and why I need (or should) initial him?

75. JMS synchronous communication    stackoverflow.com

In the following this, there is code for a basic JMS synchronous receiver. The question I have is this: When a message is delivered to the queue, because it is ...

76. Query regarding the java message queue    stackoverflow.com

I have a design query regarding queues. My scenario is as follows: I have to use a messaging system, with single producer and multiple consumers (asynchronous). The producer pushes different types of ...

77. JMS basic example step by step    stackoverflow.com

please post a step wise codes of JMS for a novice.

78. Trading backoffice solution    stackoverflow.com

Is there any open source solution for trading settlement, i.e. something similar to NYSE settlement system that handles the market transactions? In other words, something similar to the software stacks that have ...

79. JMS for JCA Inbound Messaging?    stackoverflow.com

I am implementing JCA Inbound model so I am studying available reference implementations that I found from Google. So far I managed to find 2 sample implementations and in both implementation, ...

80. JMS - Going from one to multiple consumers    stackoverflow.com

I have a JMS client which is producing messages and sending over a JMS queue to its unique consumer. What I want is more than one consumer getting those messages. The first ...

81. Modernization of the JMS API in Java EE 7    stackoverflow.com

A recent Aquarium Blog post mentions a modernization of the JMS API to be included in Java EE 7. Are there any information resources on the Internet on this ...

82. General J2EE architecture for Wizard/Questionnaire type of applications    stackoverflow.com

If you are designing an application such that the user must answer several questions on a page and there are dozens of pages. What Java libraries and tools do you ...

83. JMS MQ binding problem    stackoverflow.com

I have this strange issue with a JMS binding on a MQ queue with a MDB

The Message-Driven EJB: CrbEventMessageAsynchronousService is unable to connect to the JMS destination: queue.contratto.crb.input.publicQueue. The ...

84. How to implement "Distributed cache clearing" in Ofbiz?    stackoverflow.com

We have multiple instances of Ofbiz/Opentaps running. All the instances talk to same database. There are many tables that are rarely updated hence the are cached and all the instances maintain ...

85. what is the difference between JMS and XMPP?    stackoverflow.com

It seems that xmpp is used as protocol in chat application, but JMS also support multiple receiver mode. It seems that JMS is used in financial messaging system, but xmpp may also ...

86. Help: The following artifacts could not be resolved: javax.jms:jms:jar:1.1     stackoverflow.com

I am trying to compile a maven project, but I systematically get the following error message:

[ERROR]Failed to execute goal on project ...: Could not resolve dependencies for project ...:war:1.0.0: The following ...

87. Opening up TCP Sockets in j2ee Webapplication    stackoverflow.com

We have to communicate with a C++ component from a J2ee web application and my proposal involved using JMS server to communicate with the C++ component which is located on other ...

88. JMS Alternative    stackoverflow.com

I was reading a blog, and one of the points was 'if you're using queues, you messed up', in the context of JMS. I was thinking, do we even need JMS? ...

89. Synchronous messaging possible with JMS/WMQ?    stackoverflow.com

Let's say there is a mobile application that needs to make a sync request/query for some data from a server. The request will come to hosted JMS client first, that will ...

90. What is the difference between NIO and JMS    stackoverflow.com

As I understand Java NIO is an API to help create event-driven applications. Where you use a selector to notify your application of any data received over a SocketChannel. JMS(Java Messaging Service) ...

91. Simultating JMS - jUnit    stackoverflow.com

I need to simulate JMS behavior while performing automated tests via maven/hudson. I was thinking about using some mock framework i.e. Mockito to achieve that goal but maybe there is some ...

92. Subscribing to Multiple Topics in JMS    stackoverflow.com

I am working on a distributed storage project. I am implemented it using Java EE. In my storage objects are replicated at multiple servers and in case of any update at ...

93. Effective JMS processing    stackoverflow.com

We have a JMS queue which receives a very large number of messages. Listener has to save message in database using a database transaction and then commit JMS transaction. So how can i ...

94. convert jms time stamp to current date and time    stackoverflow.com

I need to know when the message has been received thus i'm printing the jms timestamp i.e msg.getJMSTimestamp() but this returns some number in milliseconds like 1300339215983. I dont ...

95. encode and decode images in java    stackoverflow.com

how do you encode and decode images in java? I have this following scenario, I want to encode an image for example(abc.gif) in any format (bytes, base64). Then Send it over ...

96. Robust and free JMS servers    stackoverflow.com

Could you propose robust and free JMS servers please?

97. Apache NMS Dependencies Issues    stackoverflow.com

I'm trying to create a JMS using Apache in C# with Visual Studio 2010. Everything builds correctly, but when I try to run and create a producer I get the ...

98. scheduled job not running on unix    stackoverflow.com

I have a scheduled job running on UNIX server which is used to delete the files present after checking the age of the files (age is kept around 1 month). This ...

99. Calling/Using JMS from PL/SQL    stackoverflow.com

Is it possible to call/use JAVA Messaging Service (JMS) from PL/SQL? I know we can call java from pl/SQL, but calling java is different from calling JMS Queues or JMS Topics, because ...

100. How to use JMS Properties on IBM MQ JMS Interface?    stackoverflow.com

I'm using MQ JMS interface with MQ 6.0.2. It seems that only pre defined properties are suported and not arbitrary ones. for instance, I can properly getJMSCorrelationID(), getJMSPriority() etc. However, when i set ...