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 ArticleRedeliveryPolicy 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 ArticleSomtimes 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 ArticleJmsTemplate.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 ArticleThread 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 ArticleDMLC 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 ArticleDMLC 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 ArticleDefaultMessageListenerContainer 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 Articlereply-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 ArticleCustomer 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 Articleasynchronous 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 Articleconcurrent 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 ArticleMDP 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 ArticleMDB - 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 ArticleActive 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 ArticleJboss 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 ArticlejmsTemplate + 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 ArticledBus 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 ArticleJms 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 ArticlejmsTemplate , 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