title: How to add multiple, delimiter based frame decoders in netty...............?
body: <p>I'm using <strong>Netty</strong> to take a stream of string data in this format... </p>
  
  <pre><code>               string1#st2|st3|st4..|....| 
  </code></pre>
  
  <p>I get multiple blocks of this sort of Strings which are separated by <strong>\n</strong> and I want to first separate those chunks and then the particular strings... </p>
  
  <p>My problem is that if I use a <strong>delimiter based frame decoder</strong> with \n as the delimiter,I can separate the strings without a problem..But how can i separate the rest of the string without using a string tokenizer.... Is there a way to add multiple <strong>delimiter based frame decoders</strong> ? Because I want to first process the information in string1 and then based on that the rest of the string.... If I write a decoder to separate the string1 then there would be no way to separate the rest of the string without using string tokenizing...  </p>
  
  <p>Thanx...  </p>
  
  <p>Edit</p>
  
  <p>Is there a way to persist an object in the channel.. like in servlet context objects.......    </p>