{"id":17104248,"url":"https://github.com/keyang/tkejms","last_synced_at":"2025-03-23T20:12:07.298Z","repository":{"id":16780916,"uuid":"19539209","full_name":"Keyang/tkejms","owner":"Keyang","description":"tkejms message dispatcher","archived":false,"fork":false,"pushed_at":"2014-05-07T16:47:24.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-01-29T03:34:21.387Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Keyang.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":"2014-05-07T15:11:10.000Z","updated_at":"2014-05-07T16:47:24.000Z","dependencies_parsed_at":"2022-08-04T11:00:18.262Z","dependency_job_id":null,"html_url":"https://github.com/Keyang/tkejms","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keyang%2Ftkejms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keyang%2Ftkejms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keyang%2Ftkejms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Keyang%2Ftkejms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Keyang","download_url":"https://codeload.github.com/Keyang/tkejms/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245162194,"owners_count":20570692,"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-10-14T15:36:00.105Z","updated_at":"2025-03-23T20:12:07.260Z","avatar_url":"https://github.com/Keyang.png","language":"JavaScript","readme":"#TKE JMS Message Dispatcher\nThis module connects to ActiveMQ bridge which connects to TKE JMS provider.\n\n#Usage\n##Installation\nIn package.json add following entry:\n```\n  \"tkejms\":\"https://github.com/Keyang/tkejms/archive/master.zip\"\n```\nThis will download the latest version of dispatcher.\n\n##API\n```js\nvar tkejms=require(\"tkejms\")({\n  \"amq_host\":\"127.0.0.1\", //activemq server host\n  \"amq_port\":61613, //activemq server port\n  \"tke_antenna_queue\":\"/queue/jms/TKEAntennaInQueue\" //TKE JMS queue name\n});\n\ntkejms.on(\"amq_msg_ticket\",function(jsonObj, employeeId){\n  //process the raw ticket json data\n});\n\ntkejms.on(\"amq_msg_basedata\",function(jsonObj, employeeId){\n  //process the raw basedata json data\n});\n\n//action could be Added / ? /? todo: finish this\ntkejms.on(\"parsed_ticket\",function(jsonObj, action, employeeId){\n  //process the parsed ticket json data\n});\n\ntkejms.on(\"parsed_employee_ticket\",function(jsonObj, action, employeeId){\n  //process the parsed employee_ticket json data\n});\n\ntkejms.on(\"parsed_product_ticket\",function(jsonObj, action, employeeId){\n  //process the parsed product_ticket json data\n});\n\ntkejms.on(\"parsed_task\",function(jsonObj, action, employeeId){\n  //process the parsed task json data\n});\n\n\n```\n\n#Change Log\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyang%2Ftkejms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeyang%2Ftkejms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeyang%2Ftkejms/lists"}