public class MyPostProcessor implements MessagePostProcessor {
private int priority;
public int getPriority() {
return priority;
}
public void...
Type: Posts; User: c.petz@efkon.com; Keyword(s):
public class MyPostProcessor implements MessagePostProcessor {
private int priority;
public int getPriority() {
return priority;
}
public void...
If you add the schema to the name the queue
f.e.
destination name : MSG
Oracle schema the destination is located in :SCOTT
you just have to name the Destination "SCOTT.MSG"
Oracle will...
You need to use a DestinationResolver instead of injecting the target queue / topic directly into the JmsTemplate.
Use the Jms Template API methods with destination name parameters so you can send...
http://forum.springsource.org/showthread.php?t=72899
I guess also redelivery delay is a broker thing so if you google you will find solutions for brokers which support this feature and how to...
String query = "JMSMessageID = '" + jmsMessageID + "'";
jmsTemplate.setReceiveTimeout(1);
Message received = jmsTemplate.receiveSelected(query);
<bean id="mbeanServer"
class="java.lang.management.ManagementFactory"
factory-method="getPlatformMBeanServer" />
http://forum.springsource.org/showthread.php?t=74154
Found it for JBoss and WebLogic
WebLogic version
queueConnection = queueConnectionFactory.createQueueConnection();
QueueSession queueSession = queueConnection.createQueueSession(true, 0);...
I don't think you will be able to solve the Problem with setting a Message Listener Attribute.
A possible solution for your problem will be scheduled message dispatching which is not a standard...
http://forum.springsource.org/showthread.php?t=56634
Using JBoss Messaging
setting following properties of Spring's JmsTemplate should solve the problem.
Iam not able to check this with JBoss MQ.
<bean id="jmsTemplateExample"...
As far as i know using Spring's DefaultMessageListenerContainer, SimpleMessageListenerContainer etc. will not be able to startup if Broker is not available.
But you will be able to extend it and...
http//www_jboss_org/community/wiki/JBossMQTimeToLiveNotWorkingProperly
Issue has been fixed with AMQ Release 5.1
<<< The last time we needed to do something like this we had to create an instance of DMLC for each different selector, couldnt find any other way to do it...am open to any corrections
same...
JMSTemplate dose not provide a send timeout property.
Using Active MQ send timeout is a property of the connection factory.
Might depend on Connection Factory implementation.
Example for Active...
You provide a message factory reference the listener will use to get connections. Jboss Forum says that JmsTemplate.receive() method which should not be used to get messages from a queue/topic... I...
Using ActiveMQ i would performance test this ...
Or system has 1000 durable consumers to listen for same topic and 100 Producers at the same time and Active MQ (we used 4.1.1) did not really make it...
I setup the container like this and it works fine
....
DefaultMessageListenerContainer listenerContainer = new DefaultMessageListenerContainer();...
Hi
The problem only occurs if you use a failover: url or a tcp url without defining the wiredFormat.maxInactivityDuration property in the connection url
I guess this is an Active MQ bug which...
Im actually using following Configuraiton for Factory
<bean id="connectionFactory"
class="org.apache.activemq.ActiveMQConnectionFactory">
<property name="brokerURL" value="${jmsBrokerUrl}"...
I also see the same behaviour in my app.
It works for some hours sometimes for days even if there are problems with Transport failed etc. the application still keeps on working fine Messages are...
http://xfire.codehaus.org/Castor
Hi
How is it possible to get a single environment element defined in tomcat's server.xml into a PropertyPlaceholderConfigurer?
I know there is a lot of stuff about jndi and tomcat etc already...
Hi
I get the Class cast Exception using the sollution setting property "properties" but this one is working fine
<bean id="jndiPropertyConfigurer"...