1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-25 13:32:07 +01:00
No description
Find a file
Florian Schmaus a0cf121d7a Make cached executor service use linked blocking queue
Since e6045c6593 the cached executor
services maximum pool size is limited to concurrencyLevel (was
previously Integer.MAX_VALUE). In order to prevent
RejectExecutionException we need to use an queue which max size is
greater than 1 (i.e. nont an SynchronousQueue).

Connection closed with error java.util.concurrent.RejectedExecutionException: Task org.jivesoftware.smack.tcp.XMPPTCPConnection$2@41dce200 rejected from java.util.concurrent.ThreadPoolExecutor@41d59150[Running, pool size = 3, active threads = 3, queued tasks = 0, completed tasks = 4]
 	at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:2011)
 	at java.util.concurrent.ThreadPoolExecutor.reject(ThreadPoolExecutor.java:793)
 	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1339)
 	at org.jivesoftware.smack.AbstractXMPPConnection.asyncGo(AbstractXMPPConnection.java:1583)
 	at org.jivesoftware.smack.tcp.XMPPTCPConnection.processHandledCount(XMPPTCPConnection.java:1655)
 	at org.jivesoftware.smack.tcp.XMPPTCPConnection.access$2300(XMPPTCPConnection.java:137)
 	at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1083)
 	at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$200(XMPPTCPConnection.java:896)
 	at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:911)
 	at java.lang.Thread.run(Thread.java:841)
2015-02-09 07:35:15 +01:00
config Enable more 'checkstyle' checks 2014-08-15 23:17:45 +02:00
documentation Fix connections.md: It's 'XMPPTCPConnectionConfiguration.Builder' 2015-02-06 09:34:58 +01:00
resources Smack 4.0.6 2014-11-23 20:05:44 +01:00
smack-android Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-android-extensions Don't use synchonrizedMap() for INSTANCES 2014-12-27 20:55:30 +01:00
smack-bosh Rename 'Packet' class to 'Stanza' 2015-02-06 09:34:51 +01:00
smack-compression-jzlib Make compressionMethod final in XMPPInputOutputStream 2014-12-19 11:15:01 +01:00
smack-core Make cached executor service use linked blocking queue 2015-02-09 07:35:15 +01:00
smack-debug Rename 'Packet' class to 'Stanza' 2015-02-06 09:34:51 +01:00
smack-debug-slf4j Rename 'Packet' class to 'Stanza' 2015-02-06 09:34:51 +01:00
smack-experimental Rename 'Packet' class to 'Stanza' 2015-02-06 09:34:51 +01:00
smack-extensions Rename 'Packet' class to 'Stanza' 2015-02-06 09:34:51 +01:00
smack-im Rename 'Packet' class to 'Stanza' 2015-02-06 09:34:51 +01:00
smack-java7 Set IDNA Transformer in smack-java7 initializer 2015-01-21 09:50:50 +01:00
smack-jingle-old Rename 'Packet' class to 'Stanza' 2015-02-06 09:34:51 +01:00
smack-legacy Rename 'Packet' class to 'Stanza' 2015-02-06 09:34:51 +01:00
smack-resolver-dnsjava Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-resolver-javax Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-resolver-minidns Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-sasl-javax Enable OSGi compliance via 'DynamicImport-Package: *' 2015-01-03 13:14:02 +01:00
smack-sasl-provided Fix SASL EXTERNAL with client cert provided JID 2015-01-13 13:31:30 +01:00
smack-tcp Add missing space in log statement within XMPPTCPConnection 2015-02-09 07:35:15 +01:00
.gitignore Add IntelliJ and Mac OS X files to gitignore 2014-11-01 12:52:19 +01:00
.travis.yml Travis CI: Use Android builder 2014-10-08 16:01:19 +02:00
build.gradle Add smack-bosh to Android Projects 2015-01-26 07:54:12 +01:00
LICENSE Add LICENSE 2014-12-27 13:36:27 +01:00
README.md Fix typos in README.md 2014-10-19 11:51:53 +02:00
settings.gradle Create smack-im subproject for XMPP-IM 2015-01-26 07:54:05 +01:00
version.gradle Smack 4.1.0-beta3-SNAPSHOT 2015-02-02 13:14:45 +01:00

Smack

Build Status Project Stats Flattr this git repo

About

Smack is an Open Source, cross-platform, easy to use Java XMPP client library.

Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java library, it can be embedded into your applications to create anything from a full XMPP client to simple XMPP integrations such as sending notification messages and presence-enabling devices.

Confused? Have a look at the Overview.

Smack - an Ignite Realtime community project.

Bug Reporting

Only a few users have access for for filling bugs in the tracker. New users should:

  1. Create a forums account (only e-mail is a requirement, you can skip all the other fields).
  2. Login to the forum account
  3. Press New in your toolbar and choose Discussion
  4. Choose the Smack Developers Forum of Smack and add the tag 'bug_report' to your new post

Please search for your issues in the bug tracker before reporting.

Contact

The developers hang around in #smack (freenode, IRC) and open_chat@conference.igniterealtime.org (XMPP MUC room). Remember that it may take some time (~hours) to get a response.

You can also reach us via the Smack Users Forum if you have questions or need support, or the Smack Developers Forum if you want to discuss Smack development.

Resources

Donate

If you find Smack useful and feel like donating, then you can use one of the following systems:

Ignite Realtime

Ignite Realtime is an Open Source community composed of end-users and developers around the world who are interested in applying innovative, open-standards-based Real Time Collaboration to their businesses and organizations. We're aimed at disrupting proprietary, non-open standards-based systems and invite you to participate in what's already one of the biggest and most active Open Source communities.