Changeset 29907

Show
Ignore:
Timestamp:
02/06/08 00:33:59 (10 months ago)
Author:
tdelprat
Message:

NXP-2045

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • org.nuxeo.ecm.core/branches/1.4/nuxeo-core/src/main/java/org/nuxeo/ecm/core/api/AbstractSession.java

    r29901 r29907  
    563563            DocumentModel docModel = DocumentModelFactory.createDocumentModel( 
    564564                    sessionId, docType); 
     565            if (options==null) 
     566                options = new HashMap<String, Object>(); 
     567            // do not forward this event on the JMS Bus 
     568            options.put("BLOCK_JMS_PRODUCING", true); 
    565569            notifyEvent(DocumentEventTypes.EMPTY_DOCUMENTMODEL_CREATED, 
    566570                    docModel, options, null, null, false);