title: How to resolve invalid connect parameters in jms?
body: <p>I am using ActiveMQ to transfer data objects from client to server by using following client uri :</p>
  
  <pre><code>ssl://X.X.X.X:61616?useKeepAlive=false&amp;wireFormat.maxInactivityDuration=30000&amp;wireFormat.cacheEnabled=false&amp;wireFormat.tightEncodingEnabled=true
  </code></pre>
  
  <p>By using the above uri am getting the following exception when I start the application :</p>
  
  <pre><code>javax.jms.JMSException: Could not create Transport. Reason: java.lang.IllegalArgumentException: Invalid connect parameters: {useKeepAlive=false}
          at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:35)
          at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:245)
          at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:258)
          at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:230)
          at org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:178)
          at com.infomindz.esdms.messaging.agent.job.handler.MessageQueueLocator.getSecureManagementJmsSession(MessageQueueLocator.java:991)
          at com.infomindz.esdms.messaging.agent.job.handler.MessageQueueLocator.sendMessageToSEMQueue(MessageQueueLocator.java:902)
          at com.infomindz.esdms.messaging.agent.job.MediaDriverStatusJob.saveAndSendPropertyDetails(Unknown Source)
          at com.infomindz.esdms.messaging.agent.job.MediaDriverStatusJob.checkInitFile(Unknown Source)
          at com.infomindz.esdms.messaging.agent.job.MediaDriverStatusJob.execute(Unknown Source)
          at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
          at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
      Caused by: java.lang.IllegalArgumentException: Invalid connect parameters: {useKeepAlive=false}
          at org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:144)
          at org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:51)
          at org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:80)
          at org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:243)
  </code></pre>
  
  <p>How do I resolve this exception?</p>