Quantcast
Channel: Spring Community Forums - JMS
Browsing all 51 articles
Browse latest View live
↧

Passing multiple Payload arguments to JMS Gateway

We would like to expose services in the form : Code: public interface AccountGateway {     @Gateway(...)     List<Account> getUserAccounts(Customer customer, AccountFilter accountFilter); } It...

View Article


RedeliveryPolicy not working in case of ws:outbound-gateway encounters...

Hi, I am trying to develop an application where I have a jms:message-driven-channel-adapter, which listens to a queue. After receiving the message I pass it through following stages Transformation of...

View Article


Somtimes RequestTimedOutIOException when many messages

Hi, I have ActiveMQ broker (5.6.0), and spring-JMS producer (3.0). It works great, but when the JMS-producer have many messages to sent, I sometimes get:...

View Article

JmsTemplate.receive()- Connection hangs after program runs

Hi all, I am using the receive() method on the JmsTemplate. The program runs at a set interval and counts the number of messages currently on the queue and pulls them off one at a time. I am using...

View Article

Thread un-safety in jms:outbound-gateway with reply listener?

***My apologies for the double-post. I did not notice the JMS sub-forum at first*** Hello: I've been using SI for a while now with great success, but recently heavier loading has exposed a problem in...

View Article


DMLC concurrent listener xml validation

We have a DMLC configured with concurrent consumers. Will receive text message which is in XML structure. Would like to validate the XML against a XSD. which is the best API or approach to do XML...

View Article

DMLC concurrent listener thread level object injection

We have a DMLC configured with concurrent consumers say 50 consumers. Ex: Class A is a listener dependent object. we would like to have each listener thread having a single instance of Class A...

View Article

DefaultMessageListenerContainer Transaction Problem

Hi everyone, I recently strarted working with Spring and JTA. I've been trying to process a message using the JTATransactionManager but I keep getting the following warning after I deploy my solution...

View Article


reply-listener may not recover from network outage

I am using an outbound-gateway and reply-listener with Tibco EMS. If EMS is bounced the outbound-gateway and reply-listener reconnect perfectly fine. However, if a request occurs while the there is a...

View Article


Customer error channel for JMS outbound channel adapter

Hi, Is there a way to configure a customer error channel for a JMS outbound channel adapter? If for whatever reason the connection to the messaging broker (in this case Hornet Q) goes down I want to be...

View Article

asynchronous and concurrent message processing from a queue

I have 2 code samples below for concurrently processing messages from a tibco jms server queue with multiple consumers (two), each created from a different jms session instance. Questions: 1) I would...

View Article

concurrent message sending

Hi, Using Spring JMS, I would like to send message concurrently using multiple threads. Is there a direct solution to this or any reference/sample?

View Article

MDP not getting invoked on using DMLC

I've an MDP that implements MessageListener interface and overrides its onMessage() method. Below is the listener configuration done in spring config file: Code: <bean...

View Article


MDB - Spring JDBC - XA Transaction

We have an MDB annontated with: @TransactionManagement(TransactionManagementType.C ONTAINER) This MDB is then Spring injected with a service that interacts with XA data source via the JDBC Template....

View Article

Active MQ - Ack on successfully posting a message onto the Queue/Topic

Hi Team, Have a scenario where in i need to check that the message was posted successfully onto the Destination Queue/Topic using ActiveMQ. Below mentioned is the JMS configuration , appreciate if...

View Article


Jboss as 7 Integration with Websphere MQ v7.5

Jboss Configuration File standalone-full.xml As follows: <subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"> <resource-adapters> <resource-adapter> <archive>...

View Article

jmsTemplate + add listener to listener container

I'm newbie with Apache ActiveMQ and I've started using 5.8.0 release + Spring I want that every session created in a servlet container ( Tomcat ), subscribes itself as consumer/listener for message...

View Article


dBus JMS with Spring Integration

Hello Team, Does Spring Integration JMS provide support for dBus JMS by Deutsche Bank? Has anybody tried working with dBus using Spring Integration? I'm looking for help with integrating the connection...

View Article

Jms channels and message store question

Hello, In my integration I use jms:channel's. For example I have aggregator, which has for both input/output channels jms ones. I can define message-store for aggregator as well. But do I need it ? I...

View Article

jmsTemplate , DefaultMessageListenerContainer and JMS transaction manager

Hello: My application runs in a non-transacted enviroment I would like to know if a JMS session is not transated but it's auto-acknowledge , it allows redelivering the non-acknowledge messages I've got...

View Article
Browsing all 51 articles
Browse latest View live