|Re: Attribute Max Size? [message #758416 is a reply to message #758308]
||Wed, 23 November 2011 08:17
| Juergen Schumacher
Registered: July 2009
Am 22.11.2011, 17:53 Uhr, schrieb Stephan Mehlhase
> during testing I pushed a fairly large block of XML data into an
> Attribute (~1.5 MB of text). And I got the following exception:
> [...]Did I just hit the limits of SMILA? Or has something else had a
> timeout and not the Lucene Index that I suspect as cause of this message
> (I use the default SMILA.application).
I don't know what caused this. Hard to say if there are no additional log
No, there should be no limit on the size of an attribute apart from the
java.lang.String limit (2 billion characters, I suppose). However, you
shouldn't configure the BPEL processor such that it adds such attributes to
the XML records which are pushed through the BPEL engine. But by default,
only the _recordid, _source and MimeType attributes are used for this, and
I suppose you didn't put the text in one of these (;
> I suppose it's better to store such an amount of data in an attachment?
No, not necessarily. But you can try.
> Can I create an attachment from my pipelet?
Yes, of course: blackboard.setAttachment(String recordId, String
attachmentName, byte data)
Powered by FUDForum
. Page generated in 0.07983 seconds