jms

Creating temporary JMS jms topic in Spring

I'm trying to refactor some legacy code to use Spring to handle the jms connections to a mainframe service. I need to connect create a temporary topic for the mainframe service reply and set that as the message.setJMSReplyTo(replyTo); in the message before I send the message. Can anyone provide examples of this? I have not found anythin...

When is messaging (e.g. JMS) an alternative for multithreading ?

I work on a data processing application in which concurrency is achieved by putting several units of work on a message queue that multiple instances of a message driven bean (MDB) listen to. Other then achieving concurrency in this manner, we do not have any specific reason to use the messaging infrastructure and MDBs. This led me to th...

Is there a JMS queue browser GUI tool that can integrate with Glassfish ?

The title says it all. I have a few JMS queues created on Glassfish 2.1 server. I need a GUI browser that lets me view the messages being sent to the queue in real time. I read about Hermes on another SO thread but I am not sure if it works with Glassfish. I also installed this plugin for Netbeans but it isn't working for me ( I get ...

How to get the number of JMS messages in a Topic

How do I get the number of JMS messages waiting to be consumed by a specific JMS message subscriber? I use the Topic model (publish/subscribe) and not the Queue model. I want my MDB (message driven bean) to be able to figure out this information about the topic it listens to. To be clear; I want my MDB to get the number of messages wait...

JBoss doesn't process JMS messages

Although JBoss seem to receive the JMS messages (I can list them through jmx-console) it doesn't process them. They stayed queued forever. What might be the reason for that? ...

[Geronimo 2.1] add a Queue JNDI ref in ejb-jar.xml? sending JMS Msg in a EJB/MDB

hi, 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 message sending happens in web context, it works. I have such setup in web.xml <message-destination-ref> <message-destination-ref-name>jms/another...

Ajax Chatting - JMS

Is there a decent open source spring-JMS (or else) messaging project? Objective: to be used on a website for a facebook-like chatting functionality ...

Request-reply model for hybrid SOAP over HTTP/JMS over middleware

One of our products implements the following one-way web service structure: Server <--------------------- Middleware <---------------- Client SOAP over JMS (queue) SOAP over HTTP In this model, clients send SOAP messages over HTTP to our middleware (Progress SonicMQ). The messages get pushed into JMS queues by Son...

Suggestions for JMS Queue and Topic naming conventions

For larger JMS deployments what are your best practice suggestions for naming conventions? Currently we're following the suggestions in the Sun Developer Network Blueprints. For example: jms/<resource-name>[Queue|Topic] I am concerned about scaling this as we get more and more queues and topics in the system. I'm particularly interes...

How to know the max capacity of a JMS queue?

Hello there, How would I know the maximum number of messages a JMS Queue can hold? Regards Chaitanya ...

Dynamically creating asynchronous message queues in Java

I need to create asynchronous message queues dynamically in Java. My use case is sending email via multiple SMTP servers: I need to enforce that emails to the same SMTP server are processes sequentially, but emails to different SMTP servers may be processed concurrently. I've used JMS in the past, but as far as I can see it only allows f...

Configuring JMS over a Weblogic Cluster

I have a setup of 2 WLS managed servers configured as part of a WLS cluster. 1) The requirement is to send requests to another system and receive responses using JMS as interface. 2) The request could originate from either of the Managed Servers. So the corresponding response should reach the managed server which originated the request...

Efficient way to display Inbox(1) count in a webapp w/o calling DB for each page request

In my web application we have built a message center / inbox functionality, in the navigation of each page we link to the "Message Center" and include next to it a count of the unread messages, for example "Message Center (2)". To populate the (2), with each request we run a *SELECT COUNT(*) FROM MessageTable WHERE unread = true blah bl...

JBoss JMS provider

I need to write a Message Driven Bean. I'm using JBoss IDE 1.5. I understand the concept behind MDB's but I don't really know how to install the JMS provider (JBoss MQ? I think) and use it so that it will be used to broker my message to an MDB. does anyone know of a tutorial I can use ? ...

Where are JMS messages stored in WebLogic 9.2 server?

Hi All I would like to know at what location WebLogic 9.2 server stores JMS messages on disk. Regards Chaitanya ...

jboss jms and xa transaction

I'm using JMS with JBoss 5.1.0 GA-jdk6 Can I use the same Database for application data and JMS as well, or should I configure them in separated databases with a two-phase XA protocol? ...

JMS Acknowledge Asynchronous Message

Hi, How do I acknowledge a message when I am using a message listener? I get the following error when I try to do an acknowledge in my message listener. A synchronous method call is not permitted when a session is being used asynchronously: 'acknowledge' ...

BlazeDS point to point examples using JMSAdapter or custom MessageAdapter

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 queue system and I want to understand how it works for JMS Queues which are point-to-point. The BlazeDS documentation describes JMS Qu...

Springframework 2.5 SimpleMessageListenerContainer message received callback?

I have been reading up on the SimpleMessageListenerContainer to ease the pain of subscribing to a topic asynchronously. However, I cannot find a way to trigger a callback or loop through the messages that the container has received. Can someone point me in the right direction (documentation, examples, etc)? ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a global id in the message header so we can trace each message lifecycle through the system. I would like to be able to prepend any log message...