{"id":18972339,"url":"https://github.com/eis/jboss-hortnetq-integration-example","last_synced_at":"2025-10-29T13:36:39.087Z","repository":{"id":143010772,"uuid":"13010339","full_name":"eis/jboss-hortnetq-integration-example","owner":"eis","description":"Example of integration to HornetQ integration, where HornetQ is embedded JBoss.","archived":false,"fork":false,"pushed_at":"2013-09-23T14:59:01.000Z","size":124,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-01T08:21:02.063Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://stackoverflow.com/questions/18820007/spring-web-to-connect-to-hornetq-jms-embeded-with-jboss-server-7-1-1","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-22T08:35:45.000Z","updated_at":"2017-01-20T08:58:58.000Z","dependencies_parsed_at":"2023-03-16T02:52:47.233Z","dependency_job_id":null,"html_url":"https://github.com/eis/jboss-hortnetq-integration-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eis%2Fjboss-hortnetq-integration-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eis%2Fjboss-hortnetq-integration-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eis%2Fjboss-hortnetq-integration-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eis%2Fjboss-hortnetq-integration-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eis","download_url":"https://codeload.github.com/eis/jboss-hortnetq-integration-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239970706,"owners_count":19727014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T15:08:10.416Z","updated_at":"2025-10-29T13:36:38.997Z","avatar_url":"https://github.com/eis.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Example of integration to HornetQ integration, where HornetQ is embedded JBoss.\r\n\r\nAnswer to question \r\n\r\nhttp://stackoverflow.com/questions/18820007/spring-web-to-connect-to-hornetq-jms-embeded-with-jboss-server-7-1-1\r\n\r\nPre-configuration for messaging in JBoss:\r\n\r\n```xml\r\n        \u003cextension module=\"org.jboss.as.messaging\"/\u003e\r\n\r\n        \u003c!-- ... --\u003e    \r\n\r\n        \u003csubsystem xmlns=\"urn:jboss:domain:messaging:1.1\"\u003e\r\n            \u003chornetq-server\u003e\r\n                \u003cpersistence-enabled\u003etrue\u003c/persistence-enabled\u003e\r\n                \u003cjournal-file-size\u003e102400\u003c/journal-file-size\u003e\r\n                \u003cjournal-min-files\u003e2\u003c/journal-min-files\u003e\r\n                \u003c!-- javax.jms.JMSSecurityException: Unable to validate user: null if this is not set: --\u003e\r\n                \u003csecurity-enabled\u003efalse\u003c/security-enabled\u003e\r\n    \r\n                \u003cconnectors\u003e\r\n                    \u003cnetty-connector name=\"netty\" socket-binding=\"messaging\"/\u003e\r\n                    \u003cnetty-connector name=\"netty-throughput\" socket-binding=\"messaging-throughput\"\u003e\r\n                        \u003cparam key=\"batch-delay\" value=\"50\"/\u003e\r\n                    \u003c/netty-connector\u003e\r\n                    \u003cin-vm-connector name=\"in-vm\" server-id=\"0\"/\u003e\r\n                \u003c/connectors\u003e\r\n    \r\n                \u003cacceptors\u003e\r\n                    \u003cnetty-acceptor name=\"netty\" socket-binding=\"messaging\"/\u003e\r\n                    \u003cnetty-acceptor name=\"netty-throughput\" socket-binding=\"messaging-throughput\"\u003e\r\n                        \u003cparam key=\"batch-delay\" value=\"50\"/\u003e\r\n                        \u003cparam key=\"direct-deliver\" value=\"false\"/\u003e\r\n                    \u003c/netty-acceptor\u003e\r\n                    \u003cin-vm-acceptor name=\"in-vm\" server-id=\"0\"/\u003e\r\n                \u003c/acceptors\u003e\r\n    \r\n                \u003csecurity-settings\u003e\r\n                    \u003csecurity-setting match=\"#\"\u003e\r\n                        \u003cpermission type=\"send\" roles=\"jmsrole guest\"/\u003e\r\n                        \u003cpermission type=\"consume\" roles=\"jmsrole guest\"/\u003e\r\n                        \u003cpermission type=\"createNonDurableQueue\" roles=\"jmsrole guest\"/\u003e\r\n                        \u003cpermission type=\"deleteNonDurableQueue\" roles=\"jmsrole guest\"/\u003e\r\n                    \u003c/security-setting\u003e\r\n                \u003c/security-settings\u003e\r\n    \r\n                \u003caddress-settings\u003e\r\n                    \u003caddress-setting match=\"#\"\u003e\r\n                        \u003cdead-letter-address\u003ejms.queue.DLQ\u003c/dead-letter-address\u003e\r\n                        \u003cexpiry-address\u003ejms.queue.ExpiryQueue\u003c/expiry-address\u003e\r\n                        \u003credelivery-delay\u003e0\u003c/redelivery-delay\u003e\r\n                        \u003cmax-size-bytes\u003e10485760\u003c/max-size-bytes\u003e\r\n                        \u003caddress-full-policy\u003eBLOCK\u003c/address-full-policy\u003e\r\n                        \u003cmessage-counter-history-day-limit\u003e1\u003c/message-counter-history-day-limit\u003e\r\n                    \u003c/address-setting\u003e\r\n                \u003c/address-settings\u003e\r\n    \r\n                \u003cjms-connection-factories\u003e\r\n                    \u003cconnection-factory name=\"InVmConnectionFactory\"\u003e\r\n                        \u003cconnectors\u003e\r\n                            \u003cconnector-ref connector-name=\"in-vm\"/\u003e\r\n                        \u003c/connectors\u003e\r\n                        \u003centries\u003e\r\n                            \u003centry name=\"java:/ConnectionFactory\"/\u003e\r\n                        \u003c/entries\u003e\r\n                    \u003c/connection-factory\u003e\r\n                    \u003cconnection-factory name=\"RemoteConnectionFactory\"\u003e\r\n                        \u003cconnectors\u003e\r\n                            \u003cconnector-ref connector-name=\"netty\"/\u003e\r\n                        \u003c/connectors\u003e\r\n                        \u003centries\u003e\r\n                            \u003centry name=\"RemoteConnectionFactory\"/\u003e\r\n                            \u003centry name=\"java:jboss/exported/jms/RemoteConnectionFactory\"/\u003e\r\n                        \u003c/entries\u003e\r\n                    \u003c/connection-factory\u003e\r\n                    \u003cpooled-connection-factory name=\"hornetq-ra\"\u003e\r\n                        \u003ctransaction mode=\"xa\"/\u003e\r\n                        \u003cconnectors\u003e\r\n                            \u003cconnector-ref connector-name=\"in-vm\"/\u003e\r\n                        \u003c/connectors\u003e\r\n                        \u003centries\u003e\r\n                            \u003centry name=\"java:/JmsXA\"/\u003e\r\n                        \u003c/entries\u003e\r\n                    \u003c/pooled-connection-factory\u003e\r\n                \u003c/jms-connection-factories\u003e\r\n    \r\n                \u003cjms-destinations\u003e\r\n                    \u003cjms-queue name=\"notificationQueue\"\u003e\r\n                        \u003centry name=\"queue/notificationQueue\"/\u003e\r\n                        \u003centry name=\"java:jboss/exported/jms/queue/notificationQueue\"/\u003e\r\n                    \u003c/jms-queue\u003e\r\n                    \u003cjms-queue name=\"videoConversionQueue\"\u003e\r\n                        \u003centry name=\"queue/videoConversionQueue\"/\u003e\r\n                        \u003centry name=\"java:jboss/exported/jms/queue/videoConversionQueue\"/\u003e\r\n                    \u003c/jms-queue\u003e\r\n                    \u003cjms-queue name=\"contentEventQueue\"\u003e\r\n                        \u003centry name=\"queue/contentEventQueue\"/\u003e\r\n                        \u003centry name=\"java:jboss/exported/jms/queue/contentEventQueue\"/\u003e\r\n                    \u003c/jms-queue\u003e\r\n                    \u003cjms-queue name=\"DemoQueue\"\u003e\r\n                      \u003centry name=\"queue/DemoQueue\" /\u003e\r\n                    \u003c/jms-queue\u003e\r\n                    \u003cjms-topic name=\"testTopic\"\u003e\r\n                        \u003centry name=\"topic/test\"/\u003e\r\n                        \u003centry name=\"java:jboss/exported/jms/topic/test\"/\u003e\r\n                    \u003c/jms-topic\u003e\r\n                \u003c/jms-destinations\u003e\r\n            \u003c/hornetq-server\u003e\r\n        \u003c/subsystem\u003e\r\n        \u003c!-- ... --\u003e    \r\n        \u003csocket-binding name=\"messaging\" port=\"5445\"/\u003e\r\n        \u003csocket-binding name=\"messaging-throughput\" port=\"5455\"/\u003e\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feis%2Fjboss-hortnetq-integration-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feis%2Fjboss-hortnetq-integration-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feis%2Fjboss-hortnetq-integration-example/lists"}