# HiveMq Java Client

**URL:** <https://forum.inductiveautomation.com/t/hivemq-java-client/85583>\
**Category:** Ignition\
**Created:** [February 12, 2024, 7:42pm UTC](https://forum.inductiveautomation.com/t/hivemq-java-client/85583 "2024-02-12T19:42:22Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [February 13, 2024, 7:29pm UTC](https://forum.inductiveautomation.com/t/hivemq-java-client/85583/9 "2024-02-13T19:29:26Z")

</div>

Finally figured it out, with the help of this post [Using Java.net Socket - #13 by pturmel](https://forum.inductiveautomation.com/t/using-java-net-socket/79962/13)

Looks like this last error had to do with Java overloading methods. Using reflection I can get the method from the class using the method name and parameter types. Then once I get the method from the class I can use the invoke method on the method returned from get method passing in my instance of the class object, along with parameter values. This is on line 22 and 24.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/4/84c1d4faeece7413ee24ecb014a6b624c5f964d7.png)

---

_[View the full topic](https://forum.inductiveautomation.com/t/hivemq-java-client/85583)._
