Implement message sending and receiving with Spring Boot + Amazon MQ (ActiveMQ)

This section describes the procedure for building Apache ActiveMQ with Amazon MQ and using it from the Spring Boot application. In addition, we will verify the operation on the application side when a file over occurs in ActiveMQ. I will describe how to build Apache ActiveMQ with Amazon MQ and use it from Spring Boot application. … Lire la suite Implement message sending and receiving with Spring Boot + Amazon MQ (ActiveMQ)

Évaluez ceci :

Ignore json property when deserializing with jackson and @JsonIgnore

Suppose we have this variable @JsonProperty(« prop1 ») private String prop1; and it’s getter an setter   @JsonProperty(« prop1 ») public String getProp1() { return role; } @JsonProperty(« prop1 ») public void setProp1(String prop1) { this.prop1= prop1; } here we serialize and deserialisze our prop1 cleaner from the classe that embedd it How to say don’t deserializ/get ( from pojo to … Lire la suite Ignore json property when deserializing with jackson and @JsonIgnore

Évaluez ceci :

How to use Jersey client to make restfull api’s calls

    This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters Show hidden characters Search HOME RESUME PYTHON SAAS GIT OTHER POEMS LOG IN JERSEY CLIENT … Lire la suite How to use Jersey client to make restfull api’s calls

Évaluez ceci :

How to create Api Gateway with terraform

Terraform gives us possibility to write these ressources for our api_gateway : aws_api_gateway_account aws_api_gateway_api_key aws_api_gateway_authorizer aws_api_gateway_base_path_mapping aws_api_gateway_client_certificate aws_api_gateway_deployment aws_api_gateway_documentation_part aws_api_gateway_documentation_version aws_api_gateway_domain_name aws_api_gateway_gateway_response aws_api_gateway_integration  ==> to specify  proxy or not , wich lambda mock endpoint.. aws_api_gateway_integration_response  ====>to specify  proxy or not , wich lambda mock endpoint.. aws_api_gateway_method  : POST GET aws_api_gateway_method_response  ====> aws_api_gateway_method_settings aws_api_gateway_model aws_api_gateway_resource  =====> … Lire la suite How to create Api Gateway with terraform

Évaluez ceci :

Terraform EOF escaped format

This piece of code creates an sqs ressource if we don’t use the EOf we should then give the json payloads with the escaped formats like this resource « aws_sqs_queue » « terraform_queue » { name = « terraform-example-queue » delay_seconds = 90 max_message_size = 2048 message_retention_seconds = 86400 receive_wait_time_seconds = 10 #redrive_policy = « {\ »deadLetterTargetArn\ »:\ »${aws_sqs_queue.terraform_queue_deadletter.arn}\ »,\ »maxReceiveCount\ »:4} » policy= « {\ »Version\ »:\ »2012-10-17\ »,\ »Statement\ »:[{\ »Action\ »:[\ »sqs:*\ »],\ »Effect\ »:\ »Allow\ »,\ »Resource\ »:\ »*\ »}]} » tags { Environment = … Lire la suite Terraform EOF escaped format

Évaluez ceci :