activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suchitha Koneru (sukoneru)" <sukon...@cisco.com>
Subject broker url issues
Date Thu, 19 Jun 2008 05:07:42 GMT
Hello Active Mq users , 
                We are using active mq version 4.1.1. The broker is
started using a URI
broker.addConnector(tcp://10.66.254.90:78695?trace=true&wireFormat.maxIn
activityDuration=1800000&jms.useAsyncSend=true&jms.dispatchAsync=true&pe
rsistent=false);
 
When I try to connect to the same URI using jndi.properties I get the
exceptions included in the end .
 
//JNDI properties 
 
java.naming.provider.url =
tcp://10.66.254.90:78695?trace=true&wireFormat.maxInactivityDuration=180
0000&jms.useAsyncSend=true&jms.dispatchAsync=true&persistent=false
 
//code for connecting to broker 
 
Context jndiContext = new InitialContext(); 
 
TopicConnectionFactory conFactory =  (TopicConnectionFactory)
jndiContext.lookup("ConnectionFactory");
 
conFactory.createTopicConnection();
 
The exceptions are
 
javax.jms.JMSException: Could not create Transport. Reason:
java.lang.IllegalArgumentException: Invalid connect parameters:
{persistent=false}
 
Please let me know , if I need to change anything.
 
thanks,
 
Suchitha.


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message