Recently we faced an issue where in even after setting the "reconnectOnException" flag on the SingleConnectionFactory, the onException method on the CF did not get called and the connection was not...
Type: Posts; User: silverdream; Keyword(s):
Recently we faced an issue where in even after setting the "reconnectOnException" flag on the SingleConnectionFactory, the onException method on the CF did not get called and the connection was not...
If you are using the DefaultMessageListenerContainer, you can control its lifecycle (start/stop) because it implements the Lifecycle Interface.
You can drive this off a user action or create a...
Use a DefaultMessageListenerContainer102 for JMS 1.0.2 spec.
For some reason, i didnt need to define a TransactionManager in Spring to participate in the Transaction from Weblogic. It works perfectly fine with a QueueConnectionFactory.
When i switch to...
Marten,
I understood the part about using the ProxyBean instead of the Unproxied Bean. Thank you for helping out.
That apart, doing some more reading, i figured out that inorder to use the...
Marten,
Thanks for your response.
Since i am pretty new to Spring (Transactions), and couldn't find many examples around this on the internet, i was pretty much suspecting my spring...
I am trying to get Transactions working in the following scenario:
SSB (with CMT) --> POJO (Injected with JMSTtemplate) --> Sends JMS Msg
I have looked up the XA connection factory from...
Hi,
I was trying Spring JMS Remoting using JMS 1.0.2 and i observed that JMSInvokerClientInterceptor supports sending messaging with JMS1.0.2 but the JMSInvokerServiceExporter does not. When the...
That gave the same error:
<!-- JMS Template -->
<bean id="xaJmsTemplate"
class="org.springframework.jms.core.JmsTemplate">
<property name="connectionFactory"...
Thanks for your response Guy.
I updated the above code:
<!-- Configure the JMS connector; call init to register for recovery! -->
<bean id="queueConnectionFactoryBean"...
I am quite new to Spring, using standalone transaction managers. I am trying a put a message on to a queue using JMSTemplate and have it participate in a XA Transaction.
Here are my...
Yes, you would need a MQ Broker like Active MQ.
Thanks for your response.
I think the basic problem is that Transaction cannot be propagated across a Q. I need to do away with JMS if i need to retain transaction information. :(
Hi All,
We are rewriting a EJB application to a standalone app and use JMS remoting to invoke a business implementation. We are using the JMSInvokerProxyFactoryBean to retrieve an instance of the...
If i understand your question correctly:
If you need to change to point to a queue on a different machine (broker), you need to change the value in the broker url property that you have defined....
Any thoughts???
Hi,
I have tried out the example in the spring reference documentation on JMS Remoting. I have be able to successfully get it working for a service to return the sum of 2 numbers passed from the...