It’s important to know the core messaging concepts of PubSub+ in order to know which APIs to apply to your use cases.
While you can publish directly to a queue, it is generally a best practice to publish to a topic as a topic can be subscribed to by 1 or more queues making it a true pub/sub and offering much more flexibility.
And you can publish to a topic in a persistent way (where you are using the guaranteed messaging facilities) using a persistent publisher.
This is a sampler of various permutations of a persistent publisher.