lundi 2 février 2015

Component testing approach

I have a java component(standalone application) that reads a request from activemq(POJOs) and writes to TCP socket and reads the response from TCP socket and writes to activemq.



request -> activemq -> component -> tcp -> component -> activemq -> response


What is the best approach to test this component ? I do not want to depend on upstream application that writes and reads the POJO's from activemq and downstream application that reads and writes from TCP socket.


Aucun commentaire:

Enregistrer un commentaire