728x90 메시지2 spring rabbitMQ 사용 https://www.cloudamqp.com/ CloudAMQP - RabbitMQ as a Service CloudAMQP - industry leading RabbitMQ as a service Start your managed cluster today. CloudAMQP is 100% free to try. www.cloudamqp.com 클라우드 rabbitMQ 사용 해당 port 1883 사용하면 안됨 디폴트 port 사용 application.yml 설정 Cloud rabbitMQ 사용하면 vhost 해줘야하고 default port는 5672 rabbitmq: host: dingo.rmq.cloudamqp.com username: ulnwlrwi password: 1-xzf7tfUz4szU.. 2022. 4. 16. 스프링 메시지, 국제화 메시지 하드코딩된 HTML 문자열들을 별도의 파일("messages.properties")에서 변수로 관리하는 방법 국제화 메시지에서 설정한 파일("messages.properties")을 각 나라별로 별도로 관리하면 서비스를 국제화 할 수 있다. "messages_en.properties" 설정 파일 item=Item item_id = Item Name "messages_ko.properties" 설정 파일 item=상품 item_id = 상품 ID 접근 인식 방법은 HTTP "accept-language" 헤더 값을 사용하거나 사용자가 직접 언어를 선택하도록 하고, 쿠키 등을 사용해서 처리하면 된다. 스프링부트인 경우 application.properties에서 설정해 주면된다. message 테스트.. 2021. 9. 23. 이전 1 다음 728x90