{"id":62438,"library":"jms-api","title":"Java Message Service API","description":"The Java Message Service (JMS) API provides a common way for Java programs to create, send, receive, and read messages in enterprise messaging systems.","status":"active","version":"1.1-rev-1","language":"java","source_language":null,"source_url":null,"tags":["messaging","jms","enterprise","api"],"install":[{"cmd":"<dependency>\n  <groupId>javax.jms</groupId>\n  <artifactId>jms-api</artifactId>\n  <version>1.1-rev-1</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'javax.jms:jms-api:1.1-rev-1'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"Connection","correct":"javax.jms.Connection"}],"quickstart":{"code":"import javax.jms.Connection;\nimport javax.jms.ConnectionFactory;\nimport javax.jms.JMSException;\n\npublic class Example {\n    public void createConnection(ConnectionFactory factory) throws JMSException {\n        Connection connection = factory.createConnection();\n        connection.start();\n    }\n}","lang":"java","description":"Shows how to create and start a JMS connection."},"warnings":[{"fix":"Upgrade to a newer version of the JMS API, such as jakarta.jms-api.","message":"JMS API version 1.1 is outdated; consider using JMS 2.0 (javax.jms) or Jakarta Messaging.","severity":"breaking","affected_versions":"<=1.1-rev-1"}],"env_vars":null,"search_vec":"'api':4,10,32 'common':13 'creat':19 'enterpris':26,31 'java':1,6,16 'jms':9,30 'messag':2,7,24,27,29 'program':17 'provid':11 'read':23 'receiv':21 'send':20 'servic':3,8 'system':28 'way':14","created_at":"2026-06-17T16:30:30.540989+00:00","updated_at":"2026-06-17T16:30:30.540989+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://jcp.org/en/jsr/detail?id=914","github":null,"docs":"https://appdoc.app/artifact/javax.jms/jms-api/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["messaging"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}