1 Reply Latest reply on Mar 21, 2002 5:05 PM by lorensrosen

    Moving a message from q1 -> q2 ?

    nikolaj

      Hi JBoss'ses
      I have two queues and want to move a message(s) from one queue to the other (retry->error). Is it possible to fetch/delete without using a MDB? Thanks, nikolaj

        • 1. Re: Moving a message from q1 -> q2 ?
          lorensrosen

          The basic JMS paradigm is that messages aren't
          changeable after they've been sent to the server
          (with the exception of delivery information).

          I think you've got two choices. You can either
          create some sort of intermediary, as you
          suggest, that consumes messages and posts new
          ones or is otherwise queryable. Or you can
          publish a new message, and use headers and
          selectors to help subscribers get the info
          they need.