Hi Rony,

Amazon MQ for ActiveMQ is a managed service and as such it only supports a 
limited set of XML configuration attributes. In this case, you are not able to 
configure any attributes for the MQTT connector. You can find the full Amazon 
MQ XML schemas here: 
https://docs.aws.amazon.com/amazon-mq/latest/developer-guide/amazon-mq-broker-configuration-parameters.html
 

The Amazon MQ team can enable NIO for you if you create a support case. 

I hope that helps! 
Lucas

On 2022-12-22, 12:42 PM, "Rony Christian" 
<rony.christ...@petpooja.com.INVALID> wrote:

    CAUTION: This email originated from outside of the organization. Do not 
click links or open attachments unless you can confirm the sender and know the 
content is safe.



    Hello team,

    We are trying to implement mqtt+nio but unfortunately are not able to
    configure it.
    following are the code what we try to update on configuration xml:

    <transportConnectors> <transportConnector name="mqtt+nio" uri=
    "mqtt+nio://localhost:1883"/> </transportConnectors>

    Getting following error:
    Error info: The specified XML configuration data is invalid:
    cvc-attribute.3: The value 'nio' of attribute 'name' on element
    'transportConnector' is not valid with respect to its type, 'protocol'. and
    cvc-enumeration-valid: Value 'nio' is not facet-valid with respect to
    enumeration '[openwire]'. It must be a value from the enumeration.

    We are using amazon activemq service.

    Please let us know how to configure it.

Reply via email to