All Projects → tigase → jaxmpp

tigase / jaxmpp

Licence: AGPL-3.0 and 2 other licenses found Licenses found AGPL-3.0 LICENSE AGPL-3.0 License.html AGPL-3.0 COPYING
Java XMPP client library

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to jaxmpp

tigase-swift
(M) Tigase Swift XMPP client library
Stars: ✭ 53 (+178.95%)
Mutual labels:  xmpp, instant-messaging, jabber
Blabber.im
blabber.im basiert auf Conversations und ist ein Open Source XMPP/Jabber Messenger für Android 4.1+
Stars: ✭ 124 (+552.63%)
Mutual labels:  xmpp, instant-messaging, jabber
Miranda Ng
Miranda NG: Next Generation of Miranda IM
Stars: ✭ 341 (+1694.74%)
Mutual labels:  xmpp, instant-messaging, jabber
isotoxin
Isotoxin source
Stars: ✭ 69 (+263.16%)
Mutual labels:  xmpp, instant-messaging, jabber
stork
(M) Android XMPP Client
Stars: ✭ 51 (+168.42%)
Mutual labels:  xmpp, instant-messaging, jabber
Jitsi
Jitsi is an audio/video and chat communicator that supports protocols such as SIP, XMPP/Jabber, IRC and many other useful features.
Stars: ✭ 3,531 (+18484.21%)
Mutual labels:  xmpp, instant-messaging, jabber
Conversations
Conversations is an open source XMPP/Jabber client for Android
Stars: ✭ 3,965 (+20768.42%)
Mutual labels:  xmpp, instant-messaging, jabber
xyTalk-pc
企业IM即时通讯定制平台,百万级高并发、高性能、可扩展、安全、高交互体验的企业通信和协作im平台。包含通讯服务、客户端(PC、Android、iOS)、Web门户(用于集成企业应用)、WebAPI。
Stars: ✭ 48 (+152.63%)
Mutual labels:  xmpp, instant-messaging
Smack
Smack is an open-source, highly modular, easy to use, XMPP client library written in Java for Java SE compatible JVMs and Android.
Stars: ✭ 2,267 (+11831.58%)
Mutual labels:  xmpp, jabber
xabber-web
Open source XMPP client for Web
Stars: ✭ 117 (+515.79%)
Mutual labels:  xmpp, jabber
xmpp
An implementation of the Extensible Messaging and Presence Protocol (XMPP) in Go.
Stars: ✭ 97 (+410.53%)
Mutual labels:  xmpp, jabber
Tigase Server
Highly optimized, extremely modular and very flexible XMPP/Jabber server
Stars: ✭ 170 (+794.74%)
Mutual labels:  xmpp, jabber
Dino
Modern XMPP ("Jabber") Chat Client using GTK+/Vala
Stars: ✭ 1,637 (+8515.79%)
Mutual labels:  xmpp, jabber
Openfire
Openfire is a real time collaboration (RTC) server licensed under the Open Source Apache License. It uses the only widely adopted open protocol for instant messaging, XMPP (also called Jabber). Openfire is incredibly easy to setup and administer, but offers rock-solid security and performance.
Stars: ✭ 2,423 (+12652.63%)
Mutual labels:  xmpp, jabber
Converse.js
Web-based XMPP/Jabber chat client written in JavaScript
Stars: ✭ 2,745 (+14347.37%)
Mutual labels:  xmpp, jabber
Vk4xmpp
Jabber-транспорт для ВКонтакте (A jabber gateway to the VK social network)
Stars: ✭ 114 (+500%)
Mutual labels:  xmpp, jabber
Lurch
XEP-0384: OMEMO Encryption for libpurple.
Stars: ✭ 245 (+1189.47%)
Mutual labels:  xmpp, jabber
ejabberd mod gcm
Google Cloud Messaging API for Ejabberd (PUSH Messages)
Stars: ✭ 27 (+42.11%)
Mutual labels:  xmpp, jabber
xmpp-php
PHP client library for XMPP (Jabber) protocol
Stars: ✭ 33 (+73.68%)
Mutual labels:  xmpp, jabber
vacuum-im
Cross-platform XMPP client
Stars: ✭ 90 (+373.68%)
Mutual labels:  xmpp, jabber

Tigase Java XMPP Client Library

What it is

Tigase Java XMPP Client Library is an XMPP client library written in a Java programming language. It provides implementation of core of the XMPP standard and processing XML. Additionally it provides support for many popular extensions (XEP's).

This repository contains source files of the library.

Features

JaXMPP implements support for RFC 6120: Extensible Messaging and Presence Protocol (XMPP): Core and RFC 6121: Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence. Additionally it supports many popular XEPs. Below is a list of some of the supported XEPs:

Compilation

Maven is required tool to compile library:

mvn package

To build Android JaXMPP module just use android profile:

mvn package -Pandroid 

Note, that following requirements has to be met:

  • Java 1.8 has to be used
  • Android sdk must be installed (e.g.: brew install android-sdk)
  • Proper tooling mus be installed (e.g.: sdkmanager "platform-tools" "platforms;android-28")
  • ANDROID_HOME must be declared. (e.g.: export ANDROID_HOME=/usr/local/Caskroom/android-sdk/4333796)

Releasing

  • prepare release: mvn -Pdist clean release:clean release:prepare
  • perform: mvn -Pdist release:perform

Simple client

Following snippet (in groovy) creates simple XMPP client, that connects to the server and prints out all incomming messages (waits for 1 minut and disconnects)

import tigase.jaxmpp.core.client.BareJID
import tigase.jaxmpp.core.client.JID
import tigase.jaxmpp.core.client.SessionObject
import tigase.jaxmpp.core.client.exceptions.JaxmppException
import tigase.jaxmpp.core.client.xmpp.modules.chat.Chat
import tigase.jaxmpp.core.client.xmpp.modules.chat.MessageModule
import tigase.jaxmpp.core.client.xmpp.stanzas.Message
import tigase.jaxmpp.j2se.Jaxmpp

final Jaxmpp contact = new Jaxmpp()

tigase.jaxmpp.j2se.Presence.initialize(contact);

contact.getModulesManager().register(new MessageModule());

contact.getProperties().setUserProperty(SessionObject.USER_BARE_JID, BareJID.bareJIDInstance("admin@atlantiscity"))
contact.getProperties().setUserProperty(SessionObject.PASSWORD, "admin")

contact.getEventBus().addHandler(MessageModule.MessageReceivedHandler.MessageReceivedEvent.class,
        new MessageModule.MessageReceivedHandler() {

            @Override
            public void onMessageReceived(SessionObject sessionObject, Chat chat, Message stanza) {
                System.out.println("received message: " + stanza.getBody());
            }
        });

println("Loging in...");

contact.login(true)

if (contact.isConnected()) {
    TimeUnit.MINUTES.sleep(1);
    contact.disconnect()
}

Support

When looking for support, please first search for answers to your question in the available online channels:

If you didn't find an answer in the resources above, feel free to submit your question as new issue on GitHub or, if you have valid support subscription, open new support ticket.

License

Tigase Tigase Logo Official Tigase repository is available at: https://github.com/tigase/jaxmpp/.

Copyright (c) 2004 Tigase, Inc.

Licensed under AGPL License Version 3. Other licensing options available upon request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].