• Post Reply Bookmark Topic Watch Topic
  • New Topic

Pipe & Filter Framework  RSS feed

 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is anyone aware of a good generic pipe & filter framework? I'm thinking of something where each pipe stage (some stages are filters, others might be data sources or sinks) pulls work from an input queue or stream and pushes output to an output queue or stream. It would be nice to split and join streams, too. I suppose each stage would be on its own thread. I can imagine writing such a thing with blocking queues, but I can also imagine running into performance problems somebody has already solved.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, after not finding what I needed, I made one. Feel free to comment.

Pipes.zip
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!