{"id":422,"date":"2013-09-25T07:36:38","date_gmt":"2013-09-25T07:36:38","guid":{"rendered":"http:\/\/blog.moramcnt.com\/?p=422"},"modified":"2013-09-25T07:38:34","modified_gmt":"2013-09-25T07:38:34","slug":"apache-activemq-%ec%9d%b8%ec%a6%9d%ec%b2%98%eb%a6%ac","status":"publish","type":"post","link":"http:\/\/blog.moramcnt.com\/?p=422","title":{"rendered":"Apache ActiveMQ \uc778\uc99d\ucc98\ub9ac"},"content":{"rendered":"<p><b>1. \uac1c\uc694<\/b><br \/>\n   ActiveMQ\uc5d0 \uc811\uc18d\ud560\ub54c ID\uc640 \ud328\uc2a4\uc6cc\ub4dc\uac00 \uc5c6\uc73c\uba74 \uba54\uc2dc\uc9c0 \uc1a1\uc218\uc2e0 \ucc98\ub9ac\uac00 \uc548\ub418\ub3c4\ub85d \ud55c\ub2e4.<br \/>\n<b>2. \uc124\uc815\ubc29\ubc95<\/b><br \/>\n\t&#8211; Active MQ \uc124\uc815<br \/>\n\tActivemq.xml\ud30c\uc77c\uc744 \uc5f4\uc5b4 \uc544\ub798\uc640 \uac19\uc774 authenticationUser \ud0dc\uadf8\uc5d0 \uc801\uc808\ud558\uac8c \uc0ac\uc6a9\uc790\uba85\uacfc \ud328\uc2a4\uc6cc\ub4dc\ub97c \ub123\uc5b4 \ucd94\uac00\ud55c\ud6c4 ActiveMQ\ub97c \uc7ac\uae30\ub3d9\ud55c\ub2e4.<\/p>\n<pre>\r\n<plugins>\r\n\t<simpleAuthenticationPlugin>\r\n\t\t<users>\r\n\t\t\t<authenticationUser username=\"user\" password=password\" groups=\"users,admins\"\/>\r\n\t\t<\/users>\r\n\t<\/simpleAuthenticationPlugin>\r\n<\/plugins>\r\n<\/pre>\n<p>\n<b>3. \ud074\ub77c\uc774\uc5b8\ud2b8<\/b><br \/>\n\t&#8211; \ucf54\ub529<br \/>\n\t\uc811\uc18d \uc2dc \uc0ac\uc6a9\uc790\uba85\uacfc \ud328\uc2a4\uc6cc\ub4dc\ub97c \uc544\ub798\uc640 \uac19\uc774 \ud30c\ub77c\ubbf8\ud130\ub85c \uc124\uc815\ud55c\ub2e4.<br \/>\n\t\ubb3c\ub860 \uc778\uc99d\uc774 \uc81c\ub300\ub85c \uc548\ub418\uba74 Exception\uc774 \ubc1c\uc0dd\ud558\uac8c \ub41c\ub2e4.<\/p>\n<pre>\r\nActiveMQConnectionFactory  connectionFactory = new ActiveMQConnectionFactory(\"user\", \"password\", \"tcp:\/\/localhost:61616\"); \r\nConnection jmsCon = connectionFactory.createConnection();\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1. \uac1c\uc694 ActiveMQ\uc5d0 \uc811\uc18d\ud560\ub54c ID\uc640 \ud328\uc2a4\uc6cc\ub4dc\uac00 \uc5c6\uc73c\uba74 \uba54\uc2dc\uc9c0 \uc1a1\uc218\uc2e0 \ucc98\ub9ac\uac00 \uc548\ub418\ub3c4\ub85d \ud55c\ub2e4. 2. \uc124\uc815\ubc29\ubc95 &#8211; Active MQ \uc124\uc815 Activemq.xml\ud30c\uc77c\uc744 \uc5f4\uc5b4 \uc544\ub798\uc640 \uac19\uc774 authenticationUser \ud0dc\uadf8\uc5d0 \uc801\uc808\ud558\uac8c \uc0ac\uc6a9\uc790\uba85\uacfc \ud328\uc2a4\uc6cc\ub4dc\ub97c \ub123\uc5b4 \ucd94\uac00\ud55c\ud6c4 ActiveMQ\ub97c \uc7ac\uae30\ub3d9\ud55c\ub2e4.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20,2],"tags":[],"class_list":["post-422","post","type-post","status-publish","format-standard","hentry","category-mq","category-2"],"_links":{"self":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=422"}],"version-history":[{"count":4,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/422\/revisions"}],"predecessor-version":[{"id":426,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=\/wp\/v2\/posts\/422\/revisions\/426"}],"wp:attachment":[{"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=422"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.moramcnt.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}