The application fails to publish
There are several common reasons why an application might fail to publish to a topic.
Can the application connect?
If the application fails to connect to Eclipse Amlen, the application is unable to publish. For more information about troubleshooting application connection problems, see The application fails to connect.
Is the topic string valid?
If the topic string is not valid, the application is unable to publish to that topic. If the topic string is not valid, you might see errors in the logs.
To resolve the problem, change the topic to a valid string. For more information about valid topic strings, see Topic Strings, and Wildcards.
Does the messaging policy allow the application to publish?
When you create a messaging policy, you can restrict whether an application can publish or subscribe to a topic string. The restriction can be based on one or more of the following values: IP address, client ID, messaging user ID, messaging group, or the client certificate used. If the application cannot publish, the cause might be that the messaging policy does not allow the application to publish.
Check the connection log for messages that indicate
that the application is not authorized to publish. You can set the
logging level of the security log to MAX
to gather
further security-related diagnostic information. For more information
about changing the logging level, see Configuring log files.
To resolve the problem, change the messaging policy to allow the application to publish. Alternatively, connect the application to an endpoint with messaging policies that allow the application to publish.