---
title: "How are the E4JMS Queues and Topics information derived?"
description: "The E4JMS Queues and Topics information in Geneos is derived using Tibco libraries, specifically the TopicInfo and QueueInfo classes. Geneos retrieves message and byte rates for inbound and outbound traffic by calling getInboundStatistics and getOutboundStatistics functions from these classes."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004028469-geneos-how-are-the-e4jms-queues-and-topics-information-derived/index.html"
---
## Tibco libraries Geneos uses

Geneos uses both TopicInfo and QueueInfo classes included in the Tibco libraries:

- [TopicInfo](https://docs.tibco.com/pub/ems/10.4.0/doc/html/api/javadoc/com/tibco/tibjms/admin/TopicInfo.html)
- [QueueInfo](https://docs.tibco.com/pub/ems/10.4.0/doc/html/api/javadoc/com/tibco/tibjms/admin/QueueInfo.html)

Both call functions defined in [DestinationInfo](https://docs.tibco.com/pub/ems/10.4.0/doc/html/api/javadoc/com/tibco/tibjms/admin/DestinationInfo.html). This functions are getInboundStatistics and getOutboundStatistics. These will return a value of type [StatData](https://docs.tibco.com/pub/ems/10.4.0/doc/html/api/javadoc/com/tibco/tibjms/admin/StatData.html).

## Information Geneos gets from Tibco

We're interested in getMessageRate and getByteRate:

- `bytesIncoming - getInboundStatistics().getByteRate()`
- `msgsIncoming - getInboundStatistics().getMessageRate()`
- `bytesOutgoing - getOutboundStatistics().getByteRate()`
- `msgsOutgoing - getOutboundStatistics().getMessageRate()`


