{"id":31058432,"url":"https://github.com/marcelmay/g-mqs","last_synced_at":"2025-09-15T07:50:59.757Z","repository":{"id":14111508,"uuid":"16816217","full_name":"marcelmay/g-mqs","owner":"marcelmay","description":"A WebSphere MQS Groovy wrapper","archived":false,"fork":false,"pushed_at":"2014-06-27T21:11:23.000Z","size":304,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-11T16:37:12.281Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcelmay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-13T20:31:12.000Z","updated_at":"2018-01-31T12:30:15.000Z","dependencies_parsed_at":"2022-09-23T19:00:27.666Z","dependency_job_id":null,"html_url":"https://github.com/marcelmay/g-mqs","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/marcelmay/g-mqs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelmay%2Fg-mqs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelmay%2Fg-mqs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelmay%2Fg-mqs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelmay%2Fg-mqs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcelmay","download_url":"https://codeload.github.com/marcelmay/g-mqs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcelmay%2Fg-mqs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275225867,"owners_count":25427000,"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","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-09-15T07:50:56.722Z","updated_at":"2025-09-15T07:50:59.741Z","avatar_url":"https://github.com/marcelmay.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"A WebSphere MQS Groovy wrapper\n------------------------------\n\ng-mqs provides a [Groovy](http://groovy.codehaus.org) DSL wrapper around\n[WebSphere MQS](http://www.ibm.com/software/products/en/wmq) client API.\n\nGroovy example\n--------------\n[(See full standalone Groovy script including @Grape)](samples/send-receive-example.groovy)\n```groovy\nnew Mqs().hostname('localhost').port(1414).channel('TEST_CHANNEL').withQueueManager('test_qm') {\n    String correlationId = 'some.correlation.id'\n    withQueue('myQueue', Mqs.QueueOptions.SEND) {\n        sendToQueue('My message', correlationId)\n        ...\n    }\n    withQueue('myQueue', Mqs.QueueOptions.RECEIVE) {\n        timeout(2000)\n        String response = receiveMessageByCorrelationId(correlationId)\n        println('Received: ' + response)\n        ...\n    }\n    withQueue('myQueue', Mqs.QueueOptions.RECEIVE) {\n        purgeQueue()\n        ...\n    }\n}\n```\n\nBuilding from source\n--------------------\n\n### Gradle\n\n  The project requires Gradle for building from source. If you do not have Gradle installed yet, have a look at\n  the [Gradle homepage](http://gradle.org).\n\n### MQS Dependencies : Maven REPO vs. local\n\n  The required WebSphere MQS JARs are commercially licensed by IBM and are therefore not available by public Maven repos.\n\n  **Tip:** There's an evaluation version [available](http://www.ibm.com/software/products/en/wmq)!\n\n  You'll have to spawn these to your (local) Maven repo using the Gradle helper:\n\n  1. Go to the helper directory:  \n     ```cd mqs-repo-spawning```\n\n  2. Copy the following list of MQS JARs into this directory:  \n     ```\ncom.ibm.mq.commonservices.jar\ncom.ibm.mq.connector.jar\ncom.ibm.mq.headers.jar\ncom.ibm.mq.jar\ncom.ibm.mq.jmqi.jar\ncom.ibm.mq.jmqi.local.jar\ncom.ibm.mq.jmqi.remote.jar\ncom.ibm.mq.jmqi.system.jar\ncom.ibm.mq.jms.admin.jar\ncom.ibm.mq.pcf.jar\ncom.ibm.mqetclient.jar\ncom.ibm.mqjms.jar\ncom.ibm.msg.client.commonservices.j2se.jar\ncom.ibm.msg.client.commonservices.jar\ncom.ibm.msg.client.jms.internal.jar\ncom.ibm.msg.client.jms.jar\ncom.ibm.msg.client.matchspace.jar\ncom.ibm.msg.client.provider.jar\ncom.ibm.msg.client.ref.jar\ncom.ibm.msg.client.wmq.common.jar\ncom.ibm.msg.client.wmq.factories.jar\ncom.ibm.msg.client.wmq.jar\ncom.ibm.msg.client.wmq.v6.jar\ndhbcore.jar\n```\n\n  3. Update the *build.gradle*  \n     You probably want to set the correct MQS version for your JARs, and maybe the local or remote repo.  \n     Note that for the MQS version, you will also have to update the MQS dependency version in the top level *build.gradle*.\n\n  4. Run Gradle  \n     By default this will spawn the JARs to your local repo.  \n     ```gradle uploadArchives```\n\n### Compiling and creating JARs\n\nTo compile and create the JARs, run\n\n```gradle clean install```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelmay%2Fg-mqs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcelmay%2Fg-mqs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcelmay%2Fg-mqs/lists"}