JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED')
<p>I am using Websphere mq v 7.5. When I try to send message to Queue, I get following error : </p>

<blockquote>
  <p>JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED')
  Provided Username and password are wrong.</p>
</blockquote>

<p>I don't have any credentials to provide as it doesn't ask at time of installation. My camel-context configuration is given below:</p>

<pre><code> &lt;bean id="webspheremq" class="org.apache.camel.component.jms.JmsComponent"&gt;
    &lt;property name="connectionFactory" ref="myConnectionFactory"/&gt;
  &lt;/bean&gt;

  &lt;bean id="myConnectionFactory" class="com.ibm.mq.jms.MQQueueConnectionFactory"&gt;
    &lt;property name="hostName" value="mqhost"/&gt;
    &lt;property name="port" value="1417"/&gt;
    &lt;property name="queueManager" value="QM1"/&gt;
    &lt;property name="channel" value="SYSTEM.DEF.SVRCONN"/&gt;
    &lt;property name="transportType" value="1"/&gt;
  &lt;/bean&gt;
</code></pre>