title: implementing a simple listener for BlueDragon (CFML) message-plugin
body: <p>I'm trying to make a hello world example for a CFML message-plugin made available by BlueDragon:</p>
  
  <p><a href="http://openbd.org/manual/?/plugin_message" rel="nofollow">http://openbd.org/manual/?/plugin_message</a></p>
  
  <p>I couldn't get my listener to work on the part it says:
  Receiving message from a topic is done using a CFC with the onMessage( message, header ) method defined.</p>
  
  <p>When I inspected my logs (plugin-message.log) on the server:</p>
  
  <pre><code>22/05/14 18:39.45: send( vm://localhost@GOOG, size=9 )
  22/05/14 18:39.45: onMessage.error@LR.RTQ.listener; Topic=GOOG; E=Error at line 1, column 1
  </code></pre>
  
  <p>it appears that something is wrong with my listener.cfc file:</p>
  
  <pre><code>&lt;cfcomponent&gt;
  
  &lt;cffunction name="onMessage" access="remote" &gt;
  
  &lt;cfargument name="message" type="string" required="true"/&gt;
  &lt;cfargument name="header" type="string" required="true"/&gt;
  
  
  
  &lt;cfstoredproc procedure="insert_message" datasource="AJDB"&gt;
  
  
  &lt;cfprocparam
      cfsqltype="cf_sql_varchar"
      value="jms"&gt;
  
  &lt;cfprocparam
      cfsqltype="cf_sql_varchar"
      value="alanserver"&gt;
  
  &lt;cfprocparam
      cfsqltype="cf_sql_varchar"
      value="#message# on #header#"&gt;
  
  
  &lt;/cfstoredproc&gt;
  
  
  &lt;/cffunction&gt;
  
  
  &lt;/cfcomponent&gt;
  </code></pre>
  
  <p>Can someone point me the right direction on making this onMessage method work?</p>