title: Create custom properties for JMS Queue
body: <p>I am using Jboss.x , EJB3.0.</p>
  
  <p>I have two JMS queues.
  "A" queue and "Error" Que.</p>
  
  <p>A que has a retry mechanism, so after 3 retries, the MSG will be deliver to an error queue automatically, and there  mdb will listen.</p>
  
  <p>I want to add to the MSG which will be delivered to the error Que, an extra property which I will define. (Ofcourse I cant add to the body an extra line, since I have rollbacks, and each time a rollback is being executed, the body will rollback also)</p>
  
  <p>So I read little in the net, and I got that I can use the header for this purpose(roll backs wont affect it). in order to user the header for my custom property I must create
  JMSPropertyType and add to it the header. I didn't find info how to do it, mybe anyone could show me, or maybe there is another way of doing this?</p>
  
  <p>thanks,
  ray.</p>