JMS 2 « Development « Spring Q&A





1. Spring JMS configuration file problem    forum.springsource.org

Spring JMS configuration file problem I am using spring 2.5.4 and following is the snippet of my configuration file: ...

2. Spring 2.5.3 JCA JMS and WebSphere 6.1    forum.springsource.org

Spring 2.5.3 JCA JMS and WebSphere 6.1 Hi, has anybody out there successfully configured to use springs (2.5.3 ) JCA endpoint support with WebSphere 6.1 (or 6.0) SIBus default messaging provider? ...

3. Spring 2.5 JMS Template vs. Jencks    forum.springsource.org

Does Spring 2.5 JMS template provide connection pooling for outbound messages? Or do I need something like Jencks? If I do not have a high outbound message rate, would Spring's Jmsemplate ...

4. how to add a prefetch limit to a JMS listener container?    forum.springsource.org

how to add a prefetch limit to a JMS listener container? Hi, I have a working bean configuration as given below. I changed the bean definition according to the http://www.springframework.org/schem...ng-jms-2.5.xsd so ...

5. jms-gateway howto?    forum.springsource.org

I tried the new adapter, but could not get it to work. I defined it like this : When sending to the "action" ...

6. Problem with jms-source    forum.springsource.org

Problem with jms-source Hi there, I'm trying to get the jms-source adapter to work, but I'm banging my head against the keyboard here.. I have set it up like this : ...

7. SPRING JMS with weblogic9.2.    forum.springsource.org

Hi All, Is anyone having working example using SPRING JMS in weblogic9.2 application server. Is there any issues using SPRING JMS with weblogic9.2? Thanks in advance. Regards, Sharath.

8. Spring JMS Provider preverences    forum.springsource.org

Hi, if anyone has a preference to an open source JMS provider that is most elegant to use with Spring such as AMQ or Mantaray I would appreciate knowing. I am ...

9. SIB And JMS    forum.springsource.org

SIB And JMS Hello All, I am not sure how much this post suit into this forum, but posting it since it is concerned with JMS. In earlier versions of WAS ...





10. JMS Gateway help needed    forum.springsource.org

JMS Gateway help needed Hi, I saw a thread in the archives about JMS Gateway. I have similarly set up a jms-gateway within my configuration. I'm trying to read off an ...

11. Package uses conflict: Import-Package:org.springframework.jms.listener; version="[2.5    forum.springsource.org

i am trying to convert existing spring app to osgi bundle but i am getting this error when deploying using eclipse pde, Package uses conflict: Import-Package:org.springframework.jms.listener; version="[2.5.4,3.0.0]" i have that org.springframework.jms ...

12. Error handling with jms-gateway and direct-channels    forum.springsource.org

Error handling with jms-gateway and direct-channels Hi, The jms-gateway is used to read messages from a queue and feed them into a spring integration workflow. To be able to use transactions ...

13. JMS Queue Pub/Sub    forum.springsource.org

I'm trying to learn a little more about Spring JMS support and wondered if someone could answer the questions below. 1) By definition, Queues don't support pub/sub, topics do. So how ...

14. JMS Target    forum.springsource.org

JMS Target Hi, My jms target is like below.Its works fine but I cant c anything in the message body.I want the response from my webservice to be shown in the ...

15. JMS Target    forum.springsource.org

JMS Target Hi, I have a Jms target which sends the messages to ApacheMQ queues and this is my configuration now.How can I now read these messages from the queue and ...

16. Performance considerations for JMS Request-Reply pattern.    forum.springsource.org

Performance considerations for JMS Request-Reply pattern. Hi, I've written a simple request-reply application using Spring Integration and JMS gateways, but I need some help understanding how to configure its channels and ...





17. JMS Inbound Gateway (RC1) -- bug or config problem?    forum.springsource.org

JMS Inbound Gateway (RC1) -- bug or config problem? In RC1, I'm using the JMS inbound gateway to get messages from a JMS queue and place them onto a channel:

18. Spring JMS with OC4J container    forum.springsource.org

Spring JMS with OC4J container Hi , I am using org.springframework.jms.listener.DefaultMessageLis tenerContainer to receive message from a Message Oriented Middlewire.When I read Spring 's documentation for DefaultMessageListenerContainer , I found that ...

19. question regarding spring JMS    forum.springsource.org

question regarding spring JMS Hello; This is my first time posting... can anyone point me to the right document or give me an example. I am new to springframwork and currently ...

20. Problem running the JMS Examples    forum.springsource.org

Feb 6th, 2009, 03:41 AM #1 bassegio14 View Profile View Forum Posts Private Message Member Join Date Nov 2008 Posts 52 Problem running the JMS Examples Dear, I have created a ...

21. JMS Router    forum.springsource.org

JMS Router I'm am trying to get a simple router working that will dequeue message from queue a, make a decision and requeue the message to either queue b or queue ...

22. Comsumer pooling in JMS    forum.springsource.org

Comsumer pooling in JMS I was going through how JMS can be configured using Springs. In one of my previous posts on consumer pooling in JMS I was told I can ...

23. Lazy init and activate/deactivate of jms:inbound-gateway    forum.springsource.org

Lazy init and activate/deactivate of jms:inbound-gateway Looking at the javadoc of the SimpleMessageListenerContainer its seems possible to activate/deactivate the MessageListenerContainer using the doStop/doStart methods. I presume the jms:inbound-gateway uses some kind ...

24. MaximumConcurrentProducers for a jms:outbound-gateway    forum.springsource.org

Mar 6th, 2009, 04:21 AM #1 bassegio14 View Profile View Forum Posts Private Message Member Join Date Nov 2008 Posts 52 MaximumConcurrentProducers for a jms:outbound-gateway I have created the following set ...

25. JMS replyToName in URI    forum.springsource.org

Hi, I'm using Spring web services for the the first time and trying to connect to Websphere MQ as a client. I followed the receipe in the docs and was partly ...

26. ErrorChannel not compatible with jms:inbound-gateway ?    forum.springsource.org

Mar 30th, 2009, 06:06 AM #1 bassegio14 View Profile View Forum Posts Private Message Member Join Date Nov 2008 Posts 52 ErrorChannel not compatible with jms:inbound-gateway ? I have the following ...

27. Error using JMS Outbound Gateway    forum.springsource.org

Error using JMS Outbound Gateway I am trying out the examples from the jms samples package and have had success with the inbound and the outbound channel adapters. However, I keep ...

28. @Resource does not work with JMS queues    forum.springsource.org

@Resource does not work with JMS queues I have multiple JMS queues defined in my context. I am using @Resource to inject one of these queues into my bean. However I ...

29. SubscribableChannel over JMS with filtering subscribers    forum.springsource.org

SubscribableChannel over JMS with filtering subscribers Hi, I have a few questions. Here is what I want to do: I have a server that offers messages of different types over the ...

30. JMS queues and gateway    forum.springsource.org

JMS queues and gateway I am trying to create a gateway component. I want my gateway to send/receive messages from jms queues. The gateway interface is, approxmately, like this: interface HotelService ...

31. jms outbound gateway quick question    forum.springsource.org

Hi, If I just need an endpoint to receive a message and automatically publish to a jms queue without needing a reply message is the jms outbound gateway still the right ...

32. create jms bridge    forum.springsource.org

Hi, If I wanted to read from one queue and publish to two others without needing to process those messages in between then I can think of the following way of ...

33. Help with jms reply    forum.springsource.org

I think you should try using an http "inbound-channel-adapter" instead of the gateway. That will act as a single-direction async request handler.

34. Example JMS and XML    forum.springsource.org

Hi, I like to show by first spring integration flow. The flow reads from an JMS queue (WebSphere MQ), validates the message, transforms the message using xslt and send the message ...

35. Router vs ServiceActivator (JMS)    forum.springsource.org

Router vs ServiceActivator (JMS) Hello, I'm new to Spring Integration and would like some advice on how to architect a new system. I want to transfer messages from one queue to ...

36. Apache Karaf + Spring DM + Spring JMS problem    forum.springsource.org

Apache Karaf + Spring DM + Spring JMS problem Hi there, I try to deploy an application wich depends on JMS (using camel-jms) on a apache karaf runtime. But I get ...

37. problem when validating schema for jms    forum.springsource.org

problem when validating schema for jms hello, could anyone tell me wha'ts wrong with this sprign xml file? Code:

42. jms string too long error    forum.springsource.org

jms string too long error I'm using SI 1.3 I'm listening to incoming messages using the message-driven-channel adapter. If the incoming message is too big I get the following: Caused by: ...

43. springintegration_correlationId lost in header when sent over jms    forum.springsource.org

springintegration_correlationId lost in header when sent over jms Hi, I'm new to Spring integration and while attempting to use the resequencer from messages read from a JMS queue, I get the ...

44. confused about mesage gateway with JMS    forum.springsource.org

confused about mesage gateway with JMS Hi, I am trying to port an example of the Spring Batch samples to JMS. The sample is available here[1] Basically, the ChunkMessageChannelItemWriter sends a ...

45. JMS Outbound Gateway Timeouts    forum.springsource.org

JMS Outbound Gateway Timeouts Hi. I'm trying to understand the best way to handle JMS outbound gateway timeouts. As far as I can understand it, the options are as follows: 1) ...

46. JMS listener    forum.springsource.org

Hello I was trying to make a jms listener on a queue using this article as a template http://stsmedia.net/introducing-spri...email-support/ But it seems a lot has change and I can't get it ...

47. JMS Outbound Gateway and a custom JMSCorrellationID    forum.springsource.org

JMS Outbound Gateway and a custom JMSCorrellationID Hello, I'm building something where I need to correlate two messages based on their ID. I may not have the original requesting message - ...

48. MessageChannelPartitionHandler, basic jms question    forum.springsource.org

Hi, It's been a while since I've played with messaging in Java, so forgive me I want multiple subscribers (remote instances) to process messages. Each message should only be processed one ...

49. Compute the value for jms:outbound-gateway receive-timeout during runtime    forum.springsource.org

Compute the value for jms:outbound-gateway receive-timeout during runtime Hi everyone, is there any way to compute the receive-timeout during runtime on each call of sendAndReceive (e.g. through getting the value from ...

50. Converting Remote calls to use Jms:channel    forum.springsource.org

Jan 13th, 2010, 02:15 AM #1 greenwayb View Profile View Forum Posts Private Message Junior Member Join Date Dec 2009 Posts 17 Converting Remote calls to use Jms:channel I am converting ...

51. Jms - queue browser    forum.springsource.org

Jms - queue browser Hi, I'm using ActiveMQ 5.2 and I'm trying to browse queue. I'm using JmsTemplate. This is fragment of my code: Code: final ConnectionFactory connectionFactory = new ActiveMQConnectionFactory(brokerURL); ...

52. Durable Topic with jms:publish-subscribe-channel    forum.springsource.org

Durable Topic with jms:publish-subscribe-channel First let me say I really enjoyed working with Spring Integration, along with ActiveMQ. Good Stuff. I am prototyping an application with spring integration 2.0.0.M1 and ActiveMQ ...

53. JMS setup is sweet. How about POJO MDBs?    forum.springsource.org

JMS setup is sweet. How about POJO MDBs? So the JMS setup and jms listener class commands are awesome. I noticed tha the class that got created implemented MessageListener, instead of ...

54. jms:reply-to    forum.springsource.org

55. Exposing setAcceptMessagesWhileStopping in     forum.springsource.org

It seems that there is no way to set the setAcceptMessagesWhileStopping property when using the xml namespace. Am I missing something? Should I open a bug? Where is the issue ...

56. Recipient list to push to dynamic JMS queues?    forum.springsource.org

Recipient list to push to dynamic JMS queues? Hello, This is a newbie question, I'm just getting started with spring integration. I need to implement a dynamic recipientlist, by that i ...

57. Polling based on a condition from JMS Queue    forum.springsource.org

I need to poll for xml messages from the jms reply queue until an end condition is reached. The end condition should be arrived based on the response xml content using ...

58. Help for this really easy test with JMS using Apache Active MQ 5.3.2    forum.springsource.org

Jun 3rd, 2010, 11:40 AM #1 alemito View Profile View Forum Posts Private Message Junior Member Join Date Oct 2008 Location Milan, Italy Posts 17 Help for this really easy test ...

59. JMS Gateway Timeout    forum.springsource.org

Hello, I am using the JMS Outbound Gateway to send messages from a client to the server. To keep it simple I set up one Queue for the requests. The gateway ...

60. Setting ErrorHandler for JMS Listenercontainer    forum.springsource.org

61. Trouble with JMS support : request and reply    forum.springsource.org

You are consuming the response on your . If you want the response to go to both places you need to change the userAuthenticationResponseChannel to a publish-subscribe-channel.

62. Closing context during a JMS receive() call    forum.springsource.org

Hello, Is there a way to close/destroy the context when there is currently a message driven endpoint waiting for an incoming message (through the messageConsumer.receive() method, which doesn't return until a ...

63. JMS Item Writer/Reader example    forum.springsource.org

JMS Item Writer/Reader example I haven't found a definitive answer to this, and before I got further, thought I'd take a shot to see if others have done this: I'm being ...

64. JMS Listener: convert xml msgs using JiBX    forum.springsource.org

JMS Listener: convert xml msgs using JiBX I have gotten an application running that listens to a Tibco JMS topic for msgs. I'm probably over thinking what needs to be done ...

65. jms:outbound-gateway and growing consumers on the reply channel    forum.springsource.org

jms:outbound-gateway and growing consumers on the reply channel I have configuration, which uses an explicit reply-destination The use case is Service A makes a ...

66. Custom JMS ListenerContainer usage    forum.springsource.org

Hi, We have our own custom jms MessageListenerContainer modeled around the DMLC (so it has a lot of similar properties). But it doesn't extend any class in the DMLC hierarchy. We ...

67. Changing the JMS listening logic to support an active and passive instance of a flow    forum.springsource.org

Changing the JMS listening logic to support an active and passive instance of a flow Hi, We have a need to have two identical Spring Integration instances listening to a JMS ...

68. JMS implementation for Spring    forum.springsource.org

Hello, all. I have a task to gather all TCP/UDP packages and then asynchronously parse them. I create prototype with ActiveMQ, but ActiveMQ have to be installed as independent application. That ...

69. JMS Communication between 2 servers/projects    forum.springsource.org

Sep 1st, 2010, 10:33 AM #1 mickael View Profile View Forum Posts Private Message Junior Member Join Date Sep 2010 Posts 5 JMS Communication between 2 servers/projects Hello, I'm trying to ...

70. JMS EXAMPLE IN Spring    forum.springsource.org

Hi, I am new to spring and JMS. Please provide the URL for JMS example. requirements: JMS example to send a message to ACTIVEMQ queue. to recive a message from ACIVEMQ ...

71. failed to receive JMS response within timeout of: 5000ms    forum.springsource.org

I am getting "failed to receive JMS response within timeout of: 5000ms" while testing the springJMS integration.please find the attachements for code details.the follwoing details for flow of my sample appalication. ...

72. bind channel to jms queue    forum.springsource.org

Channel Adapters is what you are asking and yes we have support for that in several modules. JMS is one of them Look at JMS Message-Driven Channel Adapter.

73. JMS to JMS messaging End to End solution required    forum.springsource.org

JMS to JMS messaging End to End solution required I have a requirement to consume a message (using messagelistener) and do something with that, then forward it to a destination Queue. ...

74. Multiple receive on JMS queues    forum.springsource.org

Multiple receive on JMS queues Hi. we use Spring Integration with ActiveMQ to handle task and task flow in our application. We are having a problem that the task bound to ...

75. JMS Providers    forum.springsource.org

Hi, When I use the jms command in roo, it looks like the only provider available is ActiveMQ in memory. We use JBoss Messaging. Is there a way to use a ...

76. MessageTimeoutException: failed to receive JMS response within timeout of: 5000ms    forum.springsource.org

I have a spring batch job that has 3 steps. Every step invoking a service using jms. I am using spring integration version 1.0.4.RELEASE. I am attaching configuration for the channel ...

77. Issue with JMS Inbound Gateway, Recieving response only first time-not for second    forum.springsource.org

HTML Code: @Service("dynamicQueryMessageGatewayService") public interface IDynamicQueryMessageGateway { @Gateway(requestChannel = "senderChannel") public void sendMessage(String query); } @Service("dynamicQueryMessageReturnGatewayService") public interface IDynamicQueryReplyGateway { @Gateway(replyChannel = "marshaledRecieverChannel", replyTimeout = 5000) public DynamicQueryResults recieveMessage(); } public ...

78. JMS: Abstract class for CachingDestinationResolver    forum.springsource.org

Hi, Just a thought crossing my mind... I need a customized JMS DestinationResolver, but I would like the elements to be cached, to avoid reinstantiating new Queue objets every time. I ...

79. CNFE when using spring jms bundle    forum.springsource.org

CNFE when using spring jms bundle Hi, I have started to integrate messaging in our platform based on OSGi (equinox, spring dm 1.2.1). When I am trying to create JMS context ...

80. Interceptor not working on JMS channel    forum.springsource.org

Spring Integration 2.0 GA We have an interceptor (to add header info), works on a channel, but not on a jms-channel? singleLMRecords is a JMS channel others (singleLMRecordsTemp) are not, and ...