What is the difference between a pipe and message queue?

Queue is for fixed length communication where as pipes are varaible lenght. Queue is for fixed length communication where as pipes are varaible lenght.