Your solution must include the following:
The Consumer
Submits processing requests to the producer by supplying a filename, its location and a character. It also outputs the contents ofthe file provided by the producer to the standard output.
The Producer
Accepts multiple consumer requests and processes each request bycreating the following four threads.
The reader thread will read an input file, one line at a time. Itwill pass each line of input to the character thread through aqueue of messages.
The character thread component will scan the line and replace eachblank character by the character supplied by the client. It willthen pass the line to the
OR
OR