See: Description
Package | Description |
---|---|
org.fax4j |
The fax4j library, is a standard on which java based applications can communicate with
fax devices in order to submit new faxes or perform other related actions.
|
org.fax4j.bridge |
Provides the API classes for the fax client bridge.
The fax4j bridge is used to transform applications to fax bridges for example an email server to provide email2fax functionality. |
org.fax4j.bridge.email |
Provides the API classes for the email2fax bridge.
|
org.fax4j.bridge.http |
Provides the API classes for a HTTP based web2fax bridge.
|
org.fax4j.bridge.process |
Provides the API classes for a standalone process based cli2fax bridge.
|
org.fax4j.common |
Contains common internal classes used by the fax4j library.
|
org.fax4j.spi |
Provides the API classes for the fax client SPI.
The class/interfaces defined in this package should only be used internally by the fax4j library or by classes implemeting a new fax client SPI. |
org.fax4j.spi.adapter |
Provides the adapter fax client SPI implementation.
|
org.fax4j.spi.comm |
Provides the COMM port communication based fax client SPI implementation.
|
org.fax4j.spi.efax |
Provides the efax based fax client SPI implementation.
|
org.fax4j.spi.email |
Provides the email based fax client SPI implementation.
|
org.fax4j.spi.extremefax |
Provides the extreme fax based fax client SPI implementation.
|
org.fax4j.spi.faxage |
Provides the faxage based fax client SPI implementation.
|
org.fax4j.spi.hoiio |
Provides the hoiio based fax client SPI implementation.
|
org.fax4j.spi.http |
Provides the HTTP based fax client SPI implementation.
|
org.fax4j.spi.hylafax |
Provides the HylaFAX fax client SPI implementation.
|
org.fax4j.spi.interfax |
Provides the interfax based fax client SPI implementation.
|
org.fax4j.spi.java4less |
Provides the java4less RFax fax client SPI implementation.
|
org.fax4j.spi.linux |
Provides the native linux fax client SPI implementation.
|
org.fax4j.spi.mac |
Provides the native Mac fax client SPI implementation.
|
org.fax4j.spi.metrofax |
Provides the metrofax based fax client SPI implementation.
|
org.fax4j.spi.nextivafax |
Provides the nextivafax based fax client SPI implementation.
|
org.fax4j.spi.phaxio |
Provides the phaxio based fax client SPI implementation.
|
org.fax4j.spi.process |
Provides the process based fax client SPI implementation.
These implementations use external executables/scripts to invoke fax actions. |
org.fax4j.spi.send2fax |
Provides the send2fax based fax client SPI implementation.
|
org.fax4j.spi.vbs |
Provides the VB script based fax client SPI implementation.
|
org.fax4j.spi.windows |
Provides the native windows fax client SPI implementation.
|
org.fax4j.util |
Provides general utilities used internally by the fax4j library.
|
//get new instance of a fax client (based on internal + external fax4j.properties file data) FaxClient faxClient=FaxClientFactory.createFaxClient();It is possible to also provide additional fax4j configuration and request a specific implementation during the fax client creation via fax client factory method: createFaxClient(String type,Properties configuration).
//get new instance of a fax client with windows SPI and using also configuration defined in myProperties FaxClient faxClient=FaxClientFactory.createFaxClient("windows",myProperties);With the fax client instance all fax actions are possible.
//create a new fax job FaxJob faxJob=faxClient.createFaxJob();
//set fax job values faxJob.setFile(new File("./my_document.txt")); faxJob.setPriority(FaxJobPriority.HIGH_PRIORITY); faxJob.setTargetAddress("555-555"); faxJob.setTargetName("YourName"); faxJob.setSenderEmail("myemail@mycompany.com"); faxJob.setSenderName("MyName");Once the fax job contains all the needed info, you submit it via fax client:
//submit fax job faxClient.submitFaxJob(faxJob);The submitFaxJob may than update the fax job object (for example may populate the fax job ID) so it is important to keep this instance and reuse it for any fax activity relevant for this job (for example if you later on would like to cancel the fax submission).
//suspend fax job faxClient.suspendFaxJob(faxJob);The faxClient.getFaxJobStatus method enables you to get the current status of the fax job and holds the following values:
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.type.map.xxx | For each SPI type, there is a property that (with prefix: org.fax4j.spi.type.map.
and type name for example: org.fax4j.spi.type.map.adapter) which defines the SPI class name
for the given SPI type. For example: org.fax4j.spi.type.map.adapter=org.fax4j.spi.adapter.AdapterFaxClientSpi Means that for SPI type adapter, the SPI class to be used is org.fax4j.spi.adapter.AdapterFaxClientSpi |
org.fax4j.spi.type.map.adapter=org.fax4j.spi.adapter.AdapterFaxClientSpi org.fax4j.spi.type.map.windows=org.fax4j.spi.windows.WindowsFaxClientSpi org.fax4j.spi.type.map.vbs=org.fax4j.spi.vbs.VBSFaxClientSpi org.fax4j.spi.type.map.mail=org.fax4j.spi.email.MailFaxClientSpi org.fax4j.spi.type.map.http=org.fax4j.spi.http.HTTPFaxClientSpi org.fax4j.spi.type.map.process=org.fax4j.spi.process.ProcessFaxClientSpi org.fax4j.spi.type.map.linux=org.fax4j.spi.linux.LinuxFaxClientSpi org.fax4j.spi.type.map.mac=org.fax4j.spi.mac.MacFaxClientSpi org.fax4j.spi.type.map.hylafax=org.fax4j.spi.hylafax.HylaFaxClientSpi org.fax4j.spi.type.map.comm=org.fax4j.spi.comm.CommFaxClientSpi org.fax4j.spi.type.map.interfax=org.fax4j.spi.interfax.InterfaxMailFaxClientSpi org.fax4j.spi.type.map.nextivafax=org.fax4j.spi.nextivafax.NextivafaxMailFaxClientSpi org.fax4j.spi.type.map.send2fax=org.fax4j.spi.send2fax.Send2FaxMailFaxClientSpi org.fax4j.spi.type.map.metrofax=org.fax4j.spi.metrofax.MetroFaxMailFaxClientSpi org.fax4j.spi.type.map.faxage=org.fax4j.spi.faxage.FaxAgeMailFaxClientSpi org.fax4j.spi.type.map.extremefax=org.fax4j.spi.extremefax.ExtremeFaxMailFaxClientSpi org.fax4j.spi.type.map.efax=org.fax4j.spi.efax.EFaxMailFaxClientSpi org.fax4j.spi.type.map.phaxio=org.fax4j.spi.phaxio.PhaxioFaxClientSpi org.fax4j.spi.type.map.hoiio=org.fax4j.spi.hoiio.HoiioFaxClientSpi org.fax4j.spi.type.map.rfax=org.fax4j.spi.java4less.RFaxFaxClientSpi |
NA | NA |
org.fax4j.spi.default.type | In case the SPI type was not provided in the createFaxClientSpi method, the type will be taken from this property value. | adapter | none | false |
org.fax4j.logger.class.name | Defines the internal fax4j logger class name. The logger must implement the org.fax4j.common.Logger interface and have an empty constructor. This property can only be set in the internal fax4j.properties and the fax4j.properties on the classpath, providing these values as part of the java.util.Properties input of the createFaxClientSpi will have no affect. |
org.fax4j.common.SimpleLogger | org.fax4j.common.SimpleLogger | false |
org.fax4j.logger.log.level | Defines the internal fax4j logger log level. The possible values are: DEBUG, INFO and ERROR. This property can only be set in the internal fax4j.properties and the fax4j.properties on the classpath, providing these values as part of the java.util.Properties input of the createFaxClientSpi will have no effect. |
ERROR | ERROR | false |
org.fax4j.client.class.name | Defines the fax client class name. Since the fax client redirects the operations to the SPI (the engine) classes, creating a custom fax client is not required. |
org.fax4j.FaxClient | org.fax4j.FaxClient | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.adapter.internal.spi.types | A ';' separated list of SPI types. This SPI will go over the list one by one based on the configured order and will validate the type conditions. Once an SPI is found for which all conditions are met, the adapter SPI will create an instance of it and use it to proxy all fax operations to. |
mail;http;process;phaxio;hoiio;windows;vbs;linux;mac;hylafax;comm;interfax;nextivafax;send2fax;metrofax;faxage;extremefax;efax;rfax | none | true |
org.fax4j.spi.adapter.internal.spi.condition.xxx | For each type defined in the org.fax4j.spi.adapter.internal.spi.types property, you can define custom
conditions to validate. These conditions include: property - checks a fax4j property is defined and contains a value OS - checks OS name contains the value (case insensitive) java-class - checks that java class can be loaded native-lib - checks that native lib can be loaded executable - checks executable is on system path stable - checks for a fax4j property org.fax4j.spi.xxx.stable is defined and equals true, where xxx is the SPI key (for example: org.fax4j.spi.adapter.stable=true) Conditions are separated by a ';' character and the condition type and value are separated by the ':' character, for example: org.fax4j.spi.adapter.internal.spi.condition.vbs=OS:windows;executable:cscript.exe The following conditions are always checked (even if not defined):
|
org.fax4j.spi.adapter.internal.spi.condition.windows=OS:windows;native-lib:winfax org.fax4j.spi.adapter.internal.spi.condition.vbs=OS:windows;executable:cscript.exe org.fax4j.spi.adapter.internal.spi.condition.mail=property:org.fax4j.spi.mail.connection.factory.class.name;property:org.fax4j.spi.mail.address.template;property:org.fax4j.spi.mail.subject.template;property:org.fax4j.spi.mail.user.name;property:org.fax4j.spi.mail.password;property:mail.host;java-class:javax.mail.Transport org.fax4j.spi.adapter.internal.spi.condition.http=property:org.fax4j.spi.http.client.class.name;property:org.fax4j.spi.http.host.name;property:org.fax4j.spi.http.faxjob2request.converter.class.name;property:org.fax4j.spi.http.response.handler.class.name org.fax4j.spi.adapter.internal.spi.condition.process=property:org.fax4j.spi.process.submit.template.command org.fax4j.spi.adapter.internal.spi.condition.linux=OS:linux;executable:efax;property:org.fax4j.spi.linux.submit.template.command org.fax4j.spi.adapter.internal.spi.condition.mac=OS:mac;property:org.fax4j.spi.mac.print.queue.name org.fax4j.spi.adapter.internal.spi.condition.hylafax=property:org.fax4j.spi.hylafax.host;property:org.fax4j.spi.hylafax.user;property:org.fax4j.spi.hylafax.mode;property:org.fax4j.spi.hylafax.type;property:org.fax4j.spi.hylafax.connection.factory.class.name;java-class:gnu.hylafax.HylaFAXClient org.fax4j.spi.adapter.internal.spi.condition.comm=property:org.fax4j.spi.comm.port.name;property:org.fax4j.spi.comm.connection.factory.class.name;property:org.fax4j.spi.comm.fax.modem.class.name org.fax4j.spi.adapter.internal.spi.condition.interfax=property:org.fax4j.spi.mail.connection.factory.class.name;property:org.fax4j.spi.mail.user.name;property:org.fax4j.spi.mail.password;property:mail.host;java-class:javax.mail.Transport org.fax4j.spi.adapter.internal.spi.condition.nextivafax=property:org.fax4j.spi.mail.connection.factory.class.name;property:org.fax4j.spi.mail.user.name;property:org.fax4j.spi.mail.password;property:mail.host;java-class:javax.mail.Transport org.fax4j.spi.adapter.internal.spi.condition.send2fax=property:org.fax4j.spi.mail.connection.factory.class.name;property:org.fax4j.spi.mail.user.name;property:org.fax4j.spi.mail.password;property:mail.host;java-class:javax.mail.Transport org.fax4j.spi.adapter.internal.spi.condition.metrofax=property:org.fax4j.spi.mail.connection.factory.class.name;property:org.fax4j.spi.mail.user.name;property:org.fax4j.spi.mail.password;property:mail.host;java-class:javax.mail.Transport org.fax4j.spi.adapter.internal.spi.condition.faxage=property:org.fax4j.spi.mail.connection.factory.class.name;property:org.fax4j.spi.mail.user.name;property:org.fax4j.spi.mail.password;property:mail.host;java-class:javax.mail.Transport org.fax4j.spi.adapter.internal.spi.condition.extremefax=property:org.fax4j.spi.mail.connection.factory.class.name;property:org.fax4j.spi.mail.user.name;property:org.fax4j.spi.mail.password;property:mail.host;java-class:javax.mail.Transport org.fax4j.spi.adapter.internal.spi.condition.efax=property:org.fax4j.spi.mail.connection.factory.class.name;property:org.fax4j.spi.mail.user.name;property:org.fax4j.spi.mail.password;property:mail.host;java-class:javax.mail.Transport org.fax4j.spi.adapter.internal.spi.condition.phaxio=property:org.fax4j.spi.phaxio.api.key;property:org.fax4j.spi.phaxio.api.secret;java-class:org.json.JSONObject org.fax4j.spi.adapter.internal.spi.condition.hoiio=property:org.fax4j.spi.hoiio.app.id;property:org.fax4j.spi.hoiio.access.token;java-class:org.json.JSONObject org.fax4j.spi.adapter.internal.spi.condition.rfax=property:org.fax4j.spi.rfax.port.name;property:org.fax4j.spi.rfax.fax.class;java-class:com.java4less.rfax.FaxModem |
none | true |
org.fax4j.spi.adapter.configuration.override.xxx | The adapter SPI enables to override the fax4j configuration for the internal SPI, by defining org.fax4j.spi.adapter.configuration.override.xxx properties where xxx is the original property name for example: org.fax4j.spi.adapter.configuration.override.org.fax4j.proxy.enabled=false overrides the org.fax4j.proxy.enabled property for the internal SPI. |
org.fax4j.spi.adapter.configuration.override.org.fax4j.proxy.enabled=false | none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.windows.server.name | The fax server host name. | none | none | false |
org.fax4j.spi.windows.use.jni | True to use JNI, false to use the external fax4j.exe | false | false | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.vbs.server.name | The fax server host name. | none | none | false |
org.fax4j.spi.vbs.exe.path | The VBS executable. | cscript.exe | cscript.exe | false |
org.fax4j.spi.vbs.always.use.win2000.api | By default the windows 2000 vbs API will be used on all platforms. In order for other platforms (other then windows 2000) to invoke the windows XP API, this property must be set to false. |
true | true | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.mail.address.template | The address template used when sending the mail message. In order to provide the target fax number as part of the email address you must specify {0} in the template. For example: org.fax4j.spi.mail.address.template={0}@myprovider.com |
none | none | true |
org.fax4j.spi.mail.subject.template | The subject template used when sending the mail message. In order to provide the target fax number as part of the email subject line you must specify {0} in the template. For example: org.fax4j.spi.mail.subject.template=fax:{0} |
none | none | true |
org.fax4j.spi.mail.persistent.connection | True to reuse the same mail connection for all fax activities, false to create a new mail connection for each fax activity. | false | false | false |
org.fax4j.spi.mail.connection.factory.class.name | The connection factory class name | org.fax4j.spi.email.MailConnectionFactoryImpl | org.fax4j.spi.email.MailConnectionFactoryImpl | false |
org.fax4j.spi.mail.user.name | The mail account user name. | none | none | false |
org.fax4j.spi.mail.password | The mail account password. | none | none | false |
javax mail properties | Any of the javax mail properties can be defined in the fax4j properties. These properties will be passed to the java mail framework. |
mail.transport.protocol=smtp mail.smtp.port=25 |
none | false |
Template Parameter | Description |
file | The fax job file content (in case of template) or name (in case of resource or URL parameters) |
target.address | The fax job target address |
target.name | The fax job target name |
sender.name | The fax job sender name |
sender.fax.number | The fax job sender fax number |
sender.email | The fax job sender email |
fax.job.id | The fax job ID |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.process.submit.template.command | The submit fax job template command. | none | none | false |
org.fax4j.spi.process.suspend.template.command | The suspend fax job template command. | none | none | false |
org.fax4j.spi.process.resume.template.command | The resume fax job template command. | none | none | false |
org.fax4j.spi.process.cancel.template.command | The cancel fax job template command. | none | none | false |
org.fax4j.spi.process.get.status.template.command | The get status fax job template command. | none | none | false |
org.fax4j.spi.process.output.validator | The process output validator class name. | org.fax4j.spi.process.ExitCodeProcessOutputValidator | org.fax4j.spi.process.ExitCodeProcessOutputValidator | false |
org.fax4j.spi.process.output.handler | The process output handler class name. | none | none | false |
org.fax4j.spi.process.use.windows.command.prefix | True to add a windows command prefix to the command template. | false | false | false |
org.fax4j.spi.process.windows.command.prefix | True to add a windows command prefix to the command template. | rundll32 SHELL32.DLL,ShellExec_RunDLL | rundll32 SHELL32.DLL,ShellExec_RunDLL | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.linux.submit.template.command | The linux submit fax job template command. | efax -d /dev/modem -t ${target.address} ${file} | none | true |
org.fax4j.spi.linux.suspend.template.command | The suspend fax job template command. | none | none | false |
org.fax4j.spi.linux.resume.template.command | The resume fax job template command. | none | none | false |
org.fax4j.spi.linux.cancel.template.command | The cancel fax job template command. | none | none | false |
org.fax4j.spi.linux.get.status.template.command | The get status fax job template command. | none | none | false |
org.fax4j.spi.linux.output.validator | The process output validator class name. | org.fax4j.spi.process.ExitCodeProcessOutputValidator | org.fax4j.spi.process.ExitCodeProcessOutputValidator | false |
org.fax4j.spi.linux.output.handler | The process output handler class name. | none | none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.mac.submit.command | The submit fax job command | lp | lp | false |
org.fax4j.spi.mac.print.queue.parameter | The print queue parameter | -d | -d | false |
org.fax4j.spi.mac.print.queue.name | The print queue name | none | none | true |
org.fax4j.spi.mac.general.parameters | The general parameters | -o | -o | false |
org.fax4j.spi.mac.phone.parameter | The phone parameter | phone | phone | false |
org.fax4j.spi.mac.fax.to.parameter | The fax to parameter | faxTo | faxTo | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.hylafax.connection.factory.class.name | The connection factory class name | org.fax4j.spi.hylafax.HylaFAXClientConnectionFactoryImpl | org.fax4j.spi.hylafax.HylaFAXClientConnectionFactoryImpl | false |
org.fax4j.spi.hylafax.host | See gnu-hylafax project for more info. | none | none | true |
org.fax4j.spi.hylafax.port | See gnu-hylafax project for more info. | none | gnu.hylafax.HylaFAXClientProtocol.DEFAULT_PORT | false |
org.fax4j.spi.hylafax.user | See gnu-hylafax project for more info. | none | none | true |
org.fax4j.spi.hylafax.password | See gnu-hylafax project for more info. | none | none | false |
org.fax4j.spi.hylafax.admin | See gnu-hylafax project for more info. | false | false | false |
org.fax4j.spi.hylafax.mode | See gnu-hylafax project for more info. | Z | none | true |
org.fax4j.spi.hylafax.type | See gnu-hylafax project for more info. | A | none | true |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.comm.port.name | The COMM port name (COM1, ...) property key | none | none | true |
org.fax4j.spi.comm.connection.factory.class.name | The connection factory class name | org.fax4j.spi.comm.CommPortConnectionFactoryImpl | org.fax4j.spi.comm.CommPortConnectionFactoryImpl | false |
org.fax4j.spi.comm.fax.modem.class.name | The fax modem class name | none | none | true |
org.fax4j.spi.comm.connection.timeout | The timeout value when trying to own a COMM port | 1500 | 1500 | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.http.client.class.name | The HTTP client class name used to submit the HTTP requests | org.fax4j.spi.http.ApacheHTTPClient | org.fax4j.spi.http.ApacheHTTPClient | false |
org.fax4j.spi.http.faxjob2request.converter.class.name | The fax job to HTTP request converter class name used to convert the fax job data into the relevant HTTP request. | org.fax4j.spi.http.MultiPartFaxJob2HTTPRequestConverter | org.fax4j.spi.http.MultiPartFaxJob2HTTPRequestConverter | false |
org.fax4j.spi.http.response.handler.class.name | The HTTP response handler class name used to update the fax job data based on the HTTP response. | org.fax4j.spi.http.JSONHTTPResponseHandler | org.fax4j.spi.http.JSONHTTPResponseHandler | false |
org.fax4j.spi.http.host.name | The target (service provider) host name. | none | none | true |
org.fax4j.spi.http.port | The target port number. | none | none | false |
org.fax4j.spi.http.ssl | True to use SSL (HTTPS), false for simple HTTP | false | false | false |
org.fax4j.spi.http.submit.resource | The default HTTP resource of the submit fax job request | none | none | false |
org.fax4j.spi.http.suspend.resource | The default HTTP resource of the suspend fax job request | none | none | false |
org.fax4j.spi.http.resume.resource | The default HTTP resource of the resume fax job request | none | none | false |
org.fax4j.spi.http.cancel.resource | The default HTTP resource of the cancel fax job request | none | none | false |
org.fax4j.spi.http.get.status.resource | The default HTTP resource of the get fax job status request | none | none | false |
org.fax4j.spi.http.url.parameters | The default HTTP URL parameters of the request | none | none | false |
org.fax4j.spi.http.submit.method | The HTTP method for the submit action | POST | POST | false |
org.fax4j.spi.http.suspend.method | The HTTP method for the suspend action | POST | POST | false |
org.fax4j.spi.http.resume.method | The HTTP method for the resume action | POST | POST | false |
org.fax4j.spi.http.cancel.method | The HTTP method for the cancel action | POST | POST | false |
org.fax4j.spi.http.get.status.method | The HTTP method for the get fax job status action | POST | POST | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.http.multi.part.submit.file.content.parameter | The submit fax action, file content parameter name. | file | file | false |
org.fax4j.spi.http.multi.part.submit.file.name.parameter | The submit fax action, file name parameter name. | filename | filename | false |
org.fax4j.spi.http.multi.part.submit.target.address.parameter | The submit fax action, target address parameter name. | targetaddress | targetaddress | false |
org.fax4j.spi.http.multi.part.submit.target.name.parameter | The submit fax action, target name parameter name. | targetname | targetname | false |
org.fax4j.spi.http.multi.part.submit.sender.name.parameter | The submit fax action, sender name parameter name. | sendername | sendername | false |
org.fax4j.spi.http.multi.part.submit.sender.fax.number.parameter | The submit fax action, sender fax number parameter name. | senderfaxnumber | senderfaxnumber | false |
org.fax4j.spi.http.multi.part.submit.sender.email.parameter | The submit fax action, sender email parameter name. | senderemail | senderemail | false |
org.fax4j.spi.http.multi.part.suspend.fax.job.id.parameter | The suspend fax action, fax job ID parameter name. | faxjobid | faxjobid | false |
org.fax4j.spi.http.multi.part.resume.fax.job.id.parameter | The resume fax action, fax job ID parameter name. | faxjobid | faxjobid | false |
org.fax4j.spi.http.multi.part.cancel.fax.job.id.parameter | The cancel fax action, fax job ID parameter name. | faxjobid | faxjobid | false |
org.fax4j.spi.http.multi.part.get.status.fax.job.id.parameter | The get fax job status fax action, fax job ID parameter name. | faxjobid | faxjobid | false |
org.fax4j.spi.http.multi.part.parameter.key.X | The additional parameter to submit where X is the parameter key and the property value is the parameter value, For example org.fax4j.spi.http.multi.part.parameter.key.my.property=my_value This converter will also send parameter my.property with value my_value |
none | none | false |
org.fax4j.spi.http.multi.part.add.file.name.as.part | The add the file name as a separate part property key. | true | true | false |
Template Parameter | Description |
file | The fax job file content (in case of template) or name (in case of resource or URL parameters) |
target.address | The fax job target address |
target.name | The fax job target name |
sender.name | The fax job sender name |
sender.fax.number | The fax job sender fax number |
sender.email | The fax job sender email |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.http.template.encoding | The template encoding, if encoding is not defined, the default system encoding is used. | none | The default system encoding | false |
org.fax4j.spi.http.submit.template.url | The URL pointing to the submit fax job template. | none | none | false |
org.fax4j.spi.http.suspend.template.url | The URL pointing to the suspend fax job template. | none | none | false |
org.fax4j.spi.http.resume.template.url | The URL pointing to the resume fax job template. | none | none | false |
org.fax4j.spi.http.cancel.template.url | The URL pointing to the cancel fax job template. | none | none | false |
org.fax4j.spi.http.get.status.template.url | The URL pointing to the get fax job status template. | none | none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.http.response.data.encoding | The response data encoding, if encoding is not defined, the default system encoding is used. | none | The default system encoding | false |
org.fax4j.spi.http.submit.json.output.path | The submit JSON output path used to locate the fax job ID from the submit fax job response. | none | none | false |
org.fax4j.spi.http.suspend.json.output.path | The suspend JSON output path used to locate the fax job ID from the suspend fax job response. | none | none | false |
org.fax4j.spi.http.resume.json.output.path | The resume JSON output path used to locate the fax job ID from the resume fax job response. | none | none | false |
org.fax4j.spi.http.cancel.json.output.path | The cancel JSON output path used to locate the fax job ID from the cancel fax job response. | none | none | false |
org.fax4j.spi.http.get.status.json.output.path | The get fax job status JSON output path used to locate the fax job status string value from the response. | none | none | false |
org.fax4j.spi.http.json.pending.status.mappings | The mapping between the output fax status string value to the fax4j FaxJobStatus.PENDING enum value (format is: value1;value2;value3). | none | none | false |
org.fax4j.spi.http.json.inprogress.status.mappings | The mapping between the output fax status string value to the fax4j FaxJobStatus.IN_PROGRESS enum value (format is: value1;value2;value3). | none | none | false |
org.fax4j.spi.http.json.error.status.mappings | The mapping between the output fax status string value to the fax4j FaxJobStatus.ERROR enum value (format is: value1;value2;value3). | none | none | false |
org.fax4j.spi.http.json.error.detection.path | The error detection path. If defined the handler will search for values in the defined path. | none | none | false |
org.fax4j.spi.http.json.error.detection.value | If detection path and value are defined, the value in the path is searched within the configured value. If value is not defined, all values are considered as errors. | none | none | false |
org.fax4j.spi.http.json.error.message.path | The path to the error message if errors are detected. If this property is not defined, the value found at org.fax4j.spi.http.json.error.detection.path will be used instead. | none | none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.http.response.data.encoding | The response data encoding, if encoding is not defined, the default system encoding is used. | none | The default system encoding | false |
org.fax4j.spi.http.submit.xml.output.path | The submit XML output path used to locate the fax job ID from the submit fax job response. | none | none | false |
org.fax4j.spi.http.suspend.xml.output.path | The suspend XML output path used to locate the fax job ID from the suspend fax job response. | none | none | false |
org.fax4j.spi.http.resume.xml.output.path | The resume XML output path used to locate the fax job ID from the resume fax job response. | none | none | false |
org.fax4j.spi.http.cancel.xml.output.path | The cancel XML output path used to locate the fax job ID from the cancel fax job response. | none | none | false |
org.fax4j.spi.http.get.status.xml.output.path | The get fax job status XML output path used to locate the fax job status string value from the response. | none | none | false |
org.fax4j.spi.http.xml.pending.status.mappings | The mapping between the output fax status string value to the fax4j FaxJobStatus.PENDING enum value (format is: value1;value2;value3). | none | none | false |
org.fax4j.spi.http.xml.inprogress.status.mappings | The mapping between the output fax status string value to the fax4j FaxJobStatus.IN_PROGRESS enum value (format is: value1;value2;value3). | none | none | false |
org.fax4j.spi.http.xml.error.status.mappings | The mapping between the output fax status string value to the fax4j FaxJobStatus.ERROR enum value (format is: value1;value2;value3). | none | none | false |
org.fax4j.spi.http.xml.error.detection.path | The error detection path. If defined the handler will search for values in the defined path. | none | none | false |
org.fax4j.spi.http.xml.error.detection.value | If detection path and value are defined, the value in the path is searched within the configured value. If value is not defined, all values are considered as errors. | none | none | false |
org.fax4j.spi.http.xml.error.message.path | The path to the error message if errors are detected. If this property is not defined, the value found at org.fax4j.spi.http.xml.error.detection.path will be used instead. | none | none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.mail.persistent.connection | True to reuse the same mail connection for all fax activities, false to create a new mail connection for each fax activity. | false | false | false |
org.fax4j.spi.mail.user.name | The mail account user name. | none | none | false |
org.fax4j.spi.mail.password | The mail account password. | none | none | false |
javax mail properties | Any of the javax mail properties can be defined in the fax4j properties. These properties will be passed to the java mail framework. |
mail.transport.protocol=smtp mail.smtp.port=25 |
none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.mail.persistent.connection | True to reuse the same mail connection for all fax activities, false to create a new mail connection for each fax activity. | false | false | false |
org.fax4j.spi.mail.user.name | The mail account user name. | none | none | false |
org.fax4j.spi.mail.password | The mail account password. | none | none | false |
javax mail properties | Any of the javax mail properties can be defined in the fax4j properties. These properties will be passed to the java mail framework. |
mail.transport.protocol=smtp mail.smtp.port=25 |
none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.mail.persistent.connection | True to reuse the same mail connection for all fax activities, false to create a new mail connection for each fax activity. | false | false | false |
org.fax4j.spi.mail.user.name | The mail account user name. | none | none | false |
org.fax4j.spi.mail.password | The mail account password. | none | none | false |
javax mail properties | Any of the javax mail properties can be defined in the fax4j properties. These properties will be passed to the java mail framework. |
mail.transport.protocol=smtp mail.smtp.port=25 |
none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.mail.persistent.connection | True to reuse the same mail connection for all fax activities, false to create a new mail connection for each fax activity. | false | false | false |
org.fax4j.spi.mail.user.name | The mail account user name. | none | none | false |
org.fax4j.spi.mail.password | The mail account password. | none | none | false |
javax mail properties | Any of the javax mail properties can be defined in the fax4j properties. These properties will be passed to the java mail framework. |
mail.transport.protocol=smtp mail.smtp.port=25 |
none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.mail.persistent.connection | True to reuse the same mail connection for all fax activities, false to create a new mail connection for each fax activity. | false | false | false |
org.fax4j.spi.mail.user.name | The mail account user name. | none | none | false |
org.fax4j.spi.mail.password | The mail account password. | none | none | false |
javax mail properties | Any of the javax mail properties can be defined in the fax4j properties. These properties will be passed to the java mail framework. |
mail.transport.protocol=smtp mail.smtp.port=25 |
none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.mail.persistent.connection | True to reuse the same mail connection for all fax activities, false to create a new mail connection for each fax activity. | false | false | false |
org.fax4j.spi.mail.user.name | The mail account user name. | none | none | false |
org.fax4j.spi.mail.password | The mail account password. | none | none | false |
javax mail properties | Any of the javax mail properties can be defined in the fax4j properties. These properties will be passed to the java mail framework. |
mail.transport.protocol=smtp mail.smtp.port=25 |
none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.mail.persistent.connection | True to reuse the same mail connection for all fax activities, false to create a new mail connection for each fax activity. | false | false | false |
org.fax4j.spi.mail.user.name | The mail account user name. | none | none | false |
org.fax4j.spi.mail.password | The mail account password. | none | none | false |
javax mail properties | Any of the javax mail properties can be defined in the fax4j properties. These properties will be passed to the java mail framework. |
mail.transport.protocol=smtp mail.smtp.port=25 |
none | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.phaxio.client.class.name | The HTTP client class name used to submit the HTTP requests | org.fax4j.spi.http.ApacheHTTPClient | org.fax4j.spi.http.ApacheHTTPClient | false |
org.fax4j.spi.phaxio.api.key | The phaxio API key | none | none | true |
org.fax4j.spi.phaxio.api.secret | The phaxio API secret | none | none | true |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.hoiio.client.class.name | The HTTP client class name used to submit the HTTP requests | org.fax4j.spi.http.ApacheHTTPClient | org.fax4j.spi.http.ApacheHTTPClient | false |
org.fax4j.spi.hoiio.app.id | The hoiio Application ID | none | none | true |
org.fax4j.spi.hoiio.access.token | The hoiio access token | none | none | true |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.spi.rfax.port.name | See java4less website for more info. | none | none | true |
org.fax4j.spi.rfax.fax.class | See java4less website for more info. | none | none | true |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.bridge.vendor.policy.class.name | The vendor policy class name. | org.fax4j.bridge.EmptyVendorPolicy | org.fax4j.bridge.EmptyVendorPolicy | false |
org.fax4j.bridge.mail.message.parser.class.name | The mail message parser class name used to convert the mail message to fax job data. | org.fax4j.bridge.email.DefaultMailMessageParser | org.fax4j.bridge.email.DefaultMailMessageParser | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.bridge.vendor.policy.class.name | The vendor policy class name. | org.fax4j.bridge.EmptyVendorPolicy | org.fax4j.bridge.EmptyVendorPolicy | false |
org.fax4j.bridge.http.request.parser.class.name | The HTTP request parser class name used to convert the HTTP request to fax job data. | org.fax4j.bridge.http.MultiPartHTTPRequestParser | org.fax4j.bridge.http.MultiPartHTTPRequestParser | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.bridge.http.request.parser.multi.part.file.content.parameter | The file content parameter name. | file | file | false |
org.fax4j.bridge.http.request.parser.multi.part.file.name.parameter | The file name parameter name. | filename | filename | false |
org.fax4j.bridge.http.request.parser.multi.part.priority.parameter | The priority parameter name. | priority | priority | false |
org.fax4j.bridge.http.request.parser.multi.part.target.address.parameter | The target address parameter name. | targetaddress | targetaddress | false |
org.fax4j.bridge.http.request.parser.multi.part.target.name.parameter | The target name parameter name. | targetname | targetname | false |
org.fax4j.bridge.http.request.parser.multi.part.sender.name.parameter | The sender name parameter name. | sendername | sendername | false |
org.fax4j.bridge.http.request.parser.multi.part.sender.fax.number.parameter | The sender fax number parameter name. | senderfaxnumber | senderfaxnumber | false |
org.fax4j.bridge.http.request.parser.multi.part.sender.email.parameter | The sender email parameter name. | senderemail | senderemail | false |
Name | Description | Preconfigured Value | Default Value | Mandatory |
org.fax4j.bridge.vendor.policy.class.name | The vendor policy class name. | org.fax4j.bridge.EmptyVendorPolicy | org.fax4j.bridge.EmptyVendorPolicy | false |
org.fax4j.bridge.process.command.parser.class.name | The command line parser class name used to convert the command line arguments to fax job data. | org.fax4j.bridge.process.DefaultCommandLineArgumentsParser | org.fax4j.bridge.process.DefaultCommandLineArgumentsParser | false |
Copyright © 2009–2020 fax4j. All rights reserved.