amazon-mq

How Amazon MQ service works without asking client to use TrustStore and KeyStore?

匆匆过客 提交于 2021-02-09 09:37:53
问题 When we configure the SSL on standalone ActiveMQ, we may need to provide the TrustStore,TrustStore Password, KeyStore and KeyStore password in client code to connect to the Active MQ over SSL protocol but in case of AmazonMQ, though they have provided SSL endpoint, but we can connect to it simply without providing the trust and key related values. Client code snippet for Simple ActiveMQ over SSL: ActiveMQSslConnectionFactory connFactory = new ActiveMQSslConnectionFactory("ssl://<someHost>

How Amazon MQ service works without asking client to use TrustStore and KeyStore?

落爺英雄遲暮 提交于 2021-02-09 09:37:08
问题 When we configure the SSL on standalone ActiveMQ, we may need to provide the TrustStore,TrustStore Password, KeyStore and KeyStore password in client code to connect to the Active MQ over SSL protocol but in case of AmazonMQ, though they have provided SSL endpoint, but we can connect to it simply without providing the trust and key related values. Client code snippet for Simple ActiveMQ over SSL: ActiveMQSslConnectionFactory connFactory = new ActiveMQSslConnectionFactory("ssl://<someHost>

AWS | Syntax error in module': invalid syntax

只愿长相守 提交于 2020-01-08 06:53:51
问题 I have created python script which is uploaded as a zip file in AWS Lambda function with stompy libraries bundled in them. Logs for python 2.7:- Response: null Request ID: "c334839f-ee46-11e8-8970-612f1dc92e41" Function Logs: START RequestId: c334839f-ee46-11e8-8970-612f1dc92e41 Version: $LATEST CONNECTION Started CONNECTION established CONNECTION Subscribed [WARNING] 2018-11-22T11:07:12.798Z c334839f-ee46-11e8-8970-612f1dc92e41 Unknown response frame type: '' (frame length was 3) END

AWS | Syntax error in module': invalid syntax

偶尔善良 提交于 2020-01-08 06:53:06
问题 I have created python script which is uploaded as a zip file in AWS Lambda function with stompy libraries bundled in them. Logs for python 2.7:- Response: null Request ID: "c334839f-ee46-11e8-8970-612f1dc92e41" Function Logs: START RequestId: c334839f-ee46-11e8-8970-612f1dc92e41 Version: $LATEST CONNECTION Started CONNECTION established CONNECTION Subscribed [WARNING] 2018-11-22T11:07:12.798Z c334839f-ee46-11e8-8970-612f1dc92e41 Unknown response frame type: '' (frame length was 3) END

Result returned by AWS Lambda python function execution in “”Null“”

拥有回忆 提交于 2019-12-08 10:34:35
问题 I have a python script which connects to AWS MQ and collect message. All my connections are perfectly aligned and Execution result is success. But result returned by my function execution is "null". Updated error logs:- { "errorType": "ConnectFailedException", "stackTrace": [ " File \"/var/task/one_purchasing.py\", line 21, in lambda_handler\n conn.connect(login='test_mq', passcode='test_secure_mq',wait=True)\n", " File \"/var/task/stomp/connect.py\", line 164, in connect\n Protocol11.connect